fix: tests

This commit is contained in:
Vlad Stan
2026-03-25 10:49:52 +02:00
parent 1df9fa831d
commit 9fcf3121ac
4 changed files with 14 additions and 6 deletions
+2 -1
View File
@@ -320,7 +320,8 @@ async def test_node_api_route_functions_with_fake_node(
rank = await node_api.api_get_1ml_stats(node=node)
assert rank is not None
assert rank.channelcount == 2
rank_data = node_api.NodeRank.parse_obj(rank)
assert rank_data.channelcount == 2
finally:
settings.lnbits_node_ui_transactions = original_transactions