1
0
Fork 0

fix jslint warning

This commit is contained in:
jsteemann 2018-05-19 21:28:08 +02:00
parent 7b8fce07a4
commit 09ab68ea89
1 changed files with 2 additions and 3 deletions

View File

@ -92,11 +92,10 @@ function AuthSuite() {
// this will issue a request using the new user // this will issue a request using the new user
assertTrue(db._collections().length > 0); assertTrue(db._collections().length > 0);
assertTrue((db._query(`RETURN CURRENT_USER()`).toArray()[0] === expectUser)) assertTrue(db._query(`RETURN CURRENT_USER()`).toArray()[0] === expectUser);
// double check with wrong passwords // double check with wrong passwords
let isBroken; let isBroken = true;
isBroken = true;
try { try {
arango.reconnect(arango.getEndpoint(), db._name(), user, "foobar2"); arango.reconnect(arango.getEndpoint(), db._name(), user, "foobar2");
} }