Move over to settings.adminAuth

This commit is contained in:
Nick O'Leary
2014-11-12 20:58:48 +00:00
parent 74e1ef0823
commit f3eb85c449
6 changed files with 7 additions and 15 deletions

View File

@@ -35,7 +35,7 @@ describe("api auth middleware",function() {
done(new Error("authentication not applied to auth path"));
}
});
settings.init({httpAdminAuth:{}});
settings.init({adminAuth:{}});
var req = {
originalUrl: "/auth/token"
};
@@ -52,7 +52,7 @@ describe("api auth middleware",function() {
done();
}
});
settings.init({httpAdminAuth:{}});
settings.init({adminAuth:{}});
var req = {
originalUrl: "/"
};