From 552f7431941e7a328b7bbb9190ef2518c077e709 Mon Sep 17 00:00:00 2001 From: Matthew Richards Date: Mon, 12 Apr 2021 15:11:16 +0000 Subject: [PATCH] #141: Edit test data to make sense - 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) --- test/icat/endpoints/test_count_with_filters_icat.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/icat/endpoints/test_count_with_filters_icat.py b/test/icat/endpoints/test_count_with_filters_icat.py index c7c70235..d35b6d30 100644 --- a/test/icat/endpoints/test_count_with_filters_icat.py +++ b/test/icat/endpoints/test_count_with_filters_icat.py @@ -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, )