Skip to content

Commit

Permalink
fix: fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kiram15 committed Nov 6, 2024
1 parent de10bfb commit 51ae1ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_enterprise/api/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -10016,12 +10016,13 @@ def test_get_enterprise_org_members(self):
data = response.json().get('results')

# list should be sorted alphabetically by name
print(data)
self.assertEqual(data[0]['enterprise_customer_user']['first_name'], user_3.first_name)
self.assertEqual(data[1]['enterprise_customer_user']['first_name'], user_2.first_name)
self.assertEqual(data[2]['enterprise_customer_user']['first_name'], user_1.first_name)


@ddt.ddt
@mark.django_db
class TestDefaultEnterpriseEnrollmentIntentionViewSet(BaseTestEnterpriseAPIViews):
"""
Test DefaultEnterpriseEnrollmentIntentionViewSet
Expand Down

0 comments on commit 51ae1ad

Please sign in to comment.