diff --git a/CHANGELOG.md b/CHANGELOG.md index e4291b3756..2c5af1fd18 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Clean up event code [#2751](https://github.com/opendatateam/udata/pull/2751) - Replace mongo legacy image in CI [#2754](https://github.com/opendatateam/udata/pull/2754) +- Fixes test `test_suggest_datasets_api` by modifying condition [#2759](https://github.com/opendatateam/udata/pull/2759) ## 4.1.1 (2022-07-08) diff --git a/udata/tests/api/test_datasets_api.py b/udata/tests/api/test_datasets_api.py index 913f2d7fe1..69c4c0707c 100644 --- a/udata/tests/api/test_datasets_api.py +++ b/udata/tests/api/test_datasets_api.py @@ -1142,7 +1142,7 @@ def test_suggest_datasets_api(self): self.assertIn('title', suggestion) self.assertIn('slug', suggestion) self.assertIn('image_url', suggestion) - self.assertIn('test', suggestion['title']) + self.assertIn('tes', suggestion['title']) self.assertEqual(response.json[0]['id'], str(max_follower_dataset.id)) def test_suggest_datasets_acronym_api(self):