Skip to content

Commit

Permalink
Update failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshred committed Dec 1, 2023
1 parent 866fef2 commit 740ff79
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions apps/dot_ext/tests/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ def test_application_data_access_type_change(self):
log_content = get_log_content(self.logger_registry, logging.AUDIT_APPLICATION_TYPE_CHANGE)
self.assertIsNotNone(log_content)
log_entries = log_content.splitlines()
self.assertEqual(len(log_entries), 3)
last_log_entry_json = json.loads(log_entries[2])
self.assertEqual(last_log_entry_json['application_saved_and_grants_updated_or_deleted'], "Yes")
self.assertEqual(len(log_entries), 1)
log_entry_json = json.loads(log_entries[0])
self.assertEqual(log_entry_json['application_saved_and_grants_updated_or_deleted'], "Yes")

@override_flag('limit_data_access', active=False)
def test_application_data_access_type_change_switch_off(self):
Expand Down

0 comments on commit 740ff79

Please sign in to comment.