diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java b/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java index 166bbb4a..2f286f0c 100644 --- a/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java +++ b/main/src/test/java/org/onap/policy/api/main/rest/TestApiRestServer.java @@ -313,7 +313,7 @@ public class TestApiRestServer { Response rawResponse = readResource(POLICYTYPES, true); assertEquals(Response.Status.OK.getStatusCode(), rawResponse.getStatus()); ToscaServiceTemplate response = rawResponse.readEntity(ToscaServiceTemplate.class); - assertTrue(response.getPolicyTypes().get(0).isEmpty()); + assertTrue(response.getPolicyTypes().isEmpty()); rawResponse = readResource(POLICYTYPES_TCA, true); assertEquals(Response.Status.NOT_FOUND.getStatusCode(), rawResponse.getStatus()); |