From 62aa9c582522c86f1b7f5ad53e4065ab62f35566 Mon Sep 17 00:00:00 2001
From: Abhay Joshi <bios@amazon.com>
Date: Tue, 25 Apr 2023 18:30:37 +0000
Subject: [PATCH]  removing properties for test and adding assert test for
 special character

---
 .../storage/records/TestRecordsApiAcceptance.java |  2 +-
 .../src/test/resources/test.properties            | 15 ---------------
 2 files changed, 1 insertion(+), 16 deletions(-)
 delete mode 100644 testing/storage-test-aws/src/test/resources/test.properties

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 3291da1b8..31918c1da 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 231a0221e..000000000
--- 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
-- 
GitLab