Remove invalid test
authorTimoney, Dan (dt5972) <dt5972@att.com>
Mon, 17 Sep 2018 14:27:06 +0000 (10:27 -0400)
committerTimoney, Dan (dt5972) <dt5972@att.com>
Mon, 17 Sep 2018 14:27:06 +0000 (10:27 -0400)
Test case expects 404 Not Found, but URL used is actually same as one
used in 200 OK case.

Change-Id: Icf7da8237b483cdf13eccbb4a8bb17c23f300733
Issue-ID: CCSDK-558
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
ms/controllerblueprints/application/src/test/java/org/onap/ccsdk/apps/controllerblueprints/ControllerBluprintsApplicationTest.java

index 39cb0da..58f3ccc 100644 (file)
@@ -48,13 +48,14 @@ public class ControllerBluprintsApplicationTest {
     private HttpHeaders headers;\r
     private ResponseEntity<ConfigModel> entity;\r
 \r
+\r
     @Before\r
     public void setUp(){\r
         headers = new HttpHeaders();\r
         headers.set("Accept", MediaType.APPLICATION_JSON_VALUE);\r
         entity = this.restTemplate\r
                 .exchange("/api/v1/config-model/1", HttpMethod.GET, new HttpEntity<>(headers),ConfigModel.class);\r
-        \r
+\r
     }\r
 \r
     @Test\r
@@ -63,9 +64,4 @@ public class ControllerBluprintsApplicationTest {
         Assert.assertNotNull("failed to get response Config model",entity.getBody());\r
     }\r
 \r
-    @Test\r
-    public void testConfigModelFailure() {\r
-        assertThat(entity.getStatusCode()).isEqualTo(HttpStatus.NOT_FOUND);\r
-        Assert.assertNotNull("failed to get response Config model",entity.getBody());\r
-    }\r
 }\r