You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -97,7 +98,7 @@ public void testConditional() throws SAXException, IOException,
97
98
assertTrue("Write with bad version succeeded", ex != null);
98
99
assertTrue("Write with bad version had wrong error", statusCode == 412);
99
100
assertTrue("Write with no version had misleading message",
100
-
ex.getMessage().contains("Local message: Content version must match to write document. Server Message: RESTAPI-CONTENTWRONGVERSION: (err:FOER0000) Content version mismatch: uri: /test/conditional1.xml"));
101
+
ex.getMessage().contains("Local message: Content version must match to write document. Server Message: RESTAPI-CONTENTWRONGVERSION: (err:FOER0000) Content version mismatch: uri /test/conditional1.xml doesn't match if-match: 11111"));
@@ -148,7 +149,7 @@ public void testConditional() throws SAXException, IOException,
148
149
assertTrue("Overwrite with bad version succeeded", ex != null);
149
150
assertTrue("Write with bad version had wrong error", statusCode == 412);
150
151
assertTrue("Write with no version had misleading message",
151
-
ex.getMessage().contains("Local message: Content version must match to write document. Server Message: RESTAPI-CONTENTWRONGVERSION: (err:FOER0000) Content version mismatch: uri: /test/conditional1.xml version:"));
152
+
ex.getMessage().contains("Local message: Content version must match to write document. Server Message: RESTAPI-CONTENTWRONGVERSION: (err:FOER0000) Content version mismatch: uri /test/conditional1.xml has current version"));
0 commit comments