diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-01-15 08:29:47 -0600 |
---|---|---|
committer | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-01-15 08:29:47 -0600 |
commit | 437e446e8dffb7a484bf658d66533ebb10d05825 (patch) | |
tree | d05d9879493cecf7287a7227ae2d01f2de540321 /policy-management | |
parent | 7e4d30982fde5d6bef26c52c1a8b5f60f026510b (diff) |
Change Junit to check for error code 406
This is to support some clean up changes done in
policy/common under commit 55f5c4dc9e130e48a25b048e1f3091b10c17e365.
Change-Id: I2961d7ba719d22f144af972dc3964c3ac402e75c
Issue-ID: POLICY-1397
Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'policy-management')
-rw-r--r-- | policy-management/src/test/java/org/onap/policy/drools/server/restful/test/RestManagerTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/policy-management/src/test/java/org/onap/policy/drools/server/restful/test/RestManagerTest.java b/policy-management/src/test/java/org/onap/policy/drools/server/restful/test/RestManagerTest.java index 5d6b11dc..11f27f49 100644 --- a/policy-management/src/test/java/org/onap/policy/drools/server/restful/test/RestManagerTest.java +++ b/policy-management/src/test/java/org/onap/policy/drools/server/restful/test/RestManagerTest.java @@ -292,7 +292,7 @@ public class RestManagerTest { response = client.execute(httpPut); logger.info(httpPut.getRequestLine() + " response code: {}", response.getStatusLine().getStatusCode()); - assertEquals(404, response.getStatusLine().getStatusCode()); + assertEquals(406, response.getStatusLine().getStatusCode()); httpPut.releaseConnection(); httpPut = new HttpPut(HOST_URL + "/engine/topics/switches/lock"); |