Skip to content

Commit

Permalink
[maykinmedia/objects-api#480] Fix tests after new release
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmursa-dev committed Dec 13, 2024
1 parent 77c3ac0 commit 0715227
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,10 @@ def test_invalid_setup_identifier(self):
],
},
}
with self.assertRaises(ConfigurationRunFailed) as command_error:
with self.assertRaises(PrerequisiteFailed) as command_error:
execute_single_step(TokenAuthConfigurationStep, object_source=object_source)

self.assertTrue(
"Validation error(s) occured for invalid identifier"
"String should match pattern"
in str(command_error.exception)
)
self.assertEqual(TokenAuth.objects.count(), 0)

0 comments on commit 0715227

Please sign in to comment.