mirror of https://gitee.com/bigwinds/arangodb
Remove redundant test
This commit is contained in:
parent
0c913dfbcf
commit
ac291a9a17
|
@ -1419,24 +1419,6 @@ function SetupAuthorization () {
|
||||||
assertEqual(err.message, "Please provide the cookieLifetime");
|
assertEqual(err.message, "Please provide the cookieLifetime");
|
||||||
},
|
},
|
||||||
|
|
||||||
testRefusesMissingCookieName: function () {
|
|
||||||
var err;
|
|
||||||
|
|
||||||
app = new FoxxController(fakeContext);
|
|
||||||
|
|
||||||
try {
|
|
||||||
app.activateAuthentication({
|
|
||||||
type: "cookie",
|
|
||||||
cookieLifetime: 360000,
|
|
||||||
sessionLifetime: 600
|
|
||||||
});
|
|
||||||
} catch (e) {
|
|
||||||
err = e;
|
|
||||||
}
|
|
||||||
|
|
||||||
assertEqual(err.message, "Please provide the cookieName");
|
|
||||||
},
|
|
||||||
|
|
||||||
testRefusesMissingSessionLifetime: function () {
|
testRefusesMissingSessionLifetime: function () {
|
||||||
var err;
|
var err;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue