diff options
author | Geir Storli <geirst@oath.com> | 2018-02-05 13:36:27 +0100 |
---|---|---|
committer | Geir Storli <geirst@oath.com> | 2018-02-05 13:48:22 +0100 |
commit | c122f502249fb505c31165d5c97ba50caa0a3a33 (patch) | |
tree | 115f2c536f0d4fb028ac69c11c3577b16162d846 /vespaclient-container-plugin/src/test/java | |
parent | b6df23d444aee889f5a275e0428f89d024d46bce (diff) |
Use separate error code for UNKNOWN_BUCKET_SPACE.
Diffstat (limited to 'vespaclient-container-plugin/src/test/java')
-rw-r--r-- | vespaclient-container-plugin/src/test/java/com/yahoo/document/restapi/OperationHandlerImplTest.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespaclient-container-plugin/src/test/java/com/yahoo/document/restapi/OperationHandlerImplTest.java b/vespaclient-container-plugin/src/test/java/com/yahoo/document/restapi/OperationHandlerImplTest.java index 3a6782f5830..06054bd2dbb 100644 --- a/vespaclient-container-plugin/src/test/java/com/yahoo/document/restapi/OperationHandlerImplTest.java +++ b/vespaclient-container-plugin/src/test/java/com/yahoo/document/restapi/OperationHandlerImplTest.java @@ -212,7 +212,7 @@ public class OperationHandlerImplTest { String errorMsg = renderRestApiExceptionAsString(e); // FIXME isn't this really more of a case of unknown document type..? assertThat(errorMsg, is("{\"errors\":[{\"description\":" + - "\"UNKNOWN_BUCKET_SPACE Document type 'document-type' in cluster 'foo' is not mapped to a known bucket space\",\"id\":-9}]}")); + "\"UNKNOWN_BUCKET_SPACE Document type 'document-type' in cluster 'foo' is not mapped to a known bucket space\",\"id\":-16}]}")); } } |