mirror of https://gitee.com/bigwinds/arangodb
fix jslint warning
This commit is contained in:
parent
7b8fce07a4
commit
09ab68ea89
|
@ -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");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue