Skip to content

Commit

Permalink
#141: Edit test data to make sense
Browse files Browse the repository at this point in the history
- Behaviour of 404s was changed, but the test data wasn't, so it could be confusing why test data saying a 404 should occur then isn't tested that happens (which it shouldn't now)
  • Loading branch information
MRichards99 committed Apr 12, 2021
1 parent 1d63692 commit 552f743
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/icat/endpoints/test_count_with_filters_icat.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ def test_valid_no_results_count_with_filters(
self, flask_test_app_icat, valid_icat_credentials_header,
):
test_response = flask_test_app_icat.get(
'/investigations/count?where={"title": {"like": "This filter should cause a'
'404 for testing purposes..."}}',
'/investigations/count?where={"title": {"like": "This filter should cause 0'
' results to be found for testing purposes..."}}',
headers=valid_icat_credentials_header,
)

Expand Down

0 comments on commit 552f743

Please sign in to comment.