Add test calendar without auth method. Should be set by default basic.

This commit is contained in:
Rodrigo Ramírez Norambuena
2017-03-10 04:36:09 -03:00
parent ceb4ef2642
commit f5c57e84c7
2 changed files with 53 additions and 0 deletions

View File

@@ -41,5 +41,17 @@ describe("Calendar module", function () {
});
describe("Basic auth by default", function() {
before(function() {
serverBasicAuth.listen(8011);
// Set config sample for use in test
process.env.MM_CONFIG_FILE = "tests/configs/modules/calendar/auth-default.js";
});
it("Should return TestEvents", function () {
return app.client.waitUntilTextExists(".calendar", "TestEvent", 10000);
});
});
});