Skip to content

Commit

Permalink
fix: used the wrong class
Browse files Browse the repository at this point in the history
  • Loading branch information
utnapischtim authored and kpsherva committed Mar 22, 2024
1 parent 631e188 commit 7e3d670
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def client_with_login(client, admin):
@pytest.fixture
def current_admin_menu(test_app):
"""Current Admin flask menu instance."""
return test_app.extensions["menu"]
return test_app.extensions["menu"].root_node


@pytest.fixture
Expand Down

0 comments on commit 7e3d670

Please sign in to comment.