Skip to content

Commit 2c28da2

Browse files
llingllinggit
authored andcommitted
Update unit test error msg as test failed due to server side error msg change
1 parent 13524c2 commit 2c28da2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

marklogic-client-api/src/test/java/com/marklogic/client/test/FailedRequestTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public void testErrorOnNonREST() throws ForbiddenUserException {
130130
serverConfig.readConfiguration();
131131
} catch (ForbiddenUserException e) {
132132
assertEquals(
133-
"Local message: User is not allowed to read config/properties. Server Message: SEC-NOADMIN: (err:FOER0000) User does not have admin role.",
133+
"Local message: User is not allowed to read config/properties. Server Message: SEC-NOADMIN: (err:FOER0000) User does not have admin-ui privilege.",
134134
e.getMessage());
135135
assertEquals(403, e.getServerStatusCode());
136136
assertEquals("Forbidden", e.getServerStatus());

0 commit comments

Comments
 (0)