Skip to content

Commit 75bed6f

Browse files
committed
Fix a flaky test
1 parent b92cb3f commit 75bed6f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_graphql_api/test_unit_group/test_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111

1212

1313
def test_unit_groups__query(graphql):
14-
unit_1 = UnitFactory.create()
15-
unit_2 = UnitFactory.create()
14+
unit_1 = UnitFactory.create(rank=1)
15+
unit_2 = UnitFactory.create(rank=2)
1616
unit_group = UnitGroupFactory.create(units=[unit_1, unit_2])
1717

1818
graphql.login_user_based_on_type(UserType.STAFF)

0 commit comments

Comments
 (0)