Skip to content

Commit 312affc

Browse files
committed
Fix calendar test
1 parent d9efdc5 commit 312affc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/configs/modules/calendar/changed-port.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ let config = {
1414
calendars: [
1515
{
1616
maximumNumberOfDays: 10000,
17-
url: "http://localhost:8010/tests/configs/data/calendar_test.ics",
17+
url: "http://localhost:8010/tests/mocks/calendar_test.ics",
1818
auth: {
1919
user: "MagicMirror",
2020
pass: "CallMeADog"

tests/configs/modules/calendar/fail-basic-auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ let config = {
1616
calendars: [
1717
{
1818
maximumNumberOfDays: 10000,
19-
url: "http://localhost:8020/tests/configs/data/calendar_test.ics",
19+
url: "http://localhost:8020/tests/mocks/calendar_test.ics",
2020
auth: {
2121
user: "MagicMirror",
2222
pass: "StairwayToHeaven",

tests/e2e/helpers/basic-auth.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const basicAuth = auth({
1111
app.use(basicAuth);
1212

1313
// Set available directories
14-
const directories = ["/tests/configs"];
14+
const directories = ["/tests/configs", "/tests/mocks"];
1515
const rootPath = path.resolve(__dirname + "/../../../");
1616

1717
for (let directory of directories) {

0 commit comments

Comments
 (0)