diff --git a/testing/storage-test-aws/src/test/java/org/opengroup/osdu/storage/records/TestRecordsApiAcceptance.java b/testing/storage-test-aws/src/test/java/org/opengroup/osdu/storage/records/TestRecordsApiAcceptance.java index 3291da1b877682983c0edc1bf7185a93c52e92d2..31918c1da2a6b6444482b6587fa587b45e9867a9 100644 --- a/testing/storage-test-aws/src/test/java/org/opengroup/osdu/storage/records/TestRecordsApiAcceptance.java +++ b/testing/storage-test-aws/src/test/java/org/opengroup/osdu/storage/records/TestRecordsApiAcceptance.java @@ -44,7 +44,6 @@ public class TestRecordsApiAcceptance extends RecordsApiAcceptanceTests { @Override public void setup() throws Exception { this.testUtils = new AWSTestUtils(); - this.configUtils = new ConfigUtils("test.properties"); } @After @@ -85,6 +84,7 @@ public class TestRecordsApiAcceptance extends RecordsApiAcceptanceTests { // Hence the Assert Statement is marked not to be 200. // More details - https://community.opengroup.org/osdu/platform/system/storage/-/issues/61 assertNotEquals(200, response.getStatus()); + assertEquals(404, response.getStatus()); } diff --git a/testing/storage-test-aws/src/test/resources/test.properties b/testing/storage-test-aws/src/test/resources/test.properties deleted file mode 100644 index 231a0221e82db68746d0f9739b4b5c16d0cf14a5..0000000000000000000000000000000000000000 --- a/testing/storage-test-aws/src/test/resources/test.properties +++ /dev/null @@ -1,15 +0,0 @@ -# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. - -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at - -# http://www.apache.org/licenses/LICENSE-2.0 - -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -enableEncodedSpecialCharactersInURL=true \ No newline at end of file