Skip to content

Commit 36ea334

Browse files
update env
1 parent 551cbf1 commit 36ea334

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

frontends/jest-shared-setup.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,11 @@ setDefaultTimezone("UTC")
1212

1313
// env vars
1414
process.env.NEXT_PUBLIC_MITOL_API_BASE_URL =
15-
"http://api.test.learn.odl.local:8063"
15+
"http://api.test.learn.odl.local:8065"
1616
process.env.NEXT_PUBLIC_MITX_ONLINE_BASE_URL =
17-
"http://api.test.mitxonline.odl.local:8053"
17+
"http://api.test.learn.odl.local:8065/mitxonline"
18+
process.env.NEXT_PUBLIC_MITX_ONLINE_LEGACY_BASE_URL =
19+
"http://mitxonline.odl.local:8065"
1820
process.env.NEXT_PUBLIC_ORIGIN = "http://test.learn.odl.local:8062"
1921
process.env.NEXT_PUBLIC_EMBEDLY_KEY = "fake-embedly-key"
2022

frontends/main/src/common/urls.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test.each([
66
{
77
loginNext: { pathname: "/", searchParams: null },
88
expected: [
9-
"http://api.test.learn.odl.local:8063/login",
9+
"http://api.test.learn.odl.local:8065/login",
1010
"?next=http%3A%2F%2Ftest.learn.odl.local%3A8062%2F",
1111
].join(""),
1212
},
@@ -16,7 +16,7 @@ test.each([
1616
searchParams: null,
1717
},
1818
expected: [
19-
"http://api.test.learn.odl.local:8063/login",
19+
"http://api.test.learn.odl.local:8065/login",
2020
"?next=http%3A%2F%2Ftest.learn.odl.local%3A8062%2Fcourses%2Fcourse-v1%3AedX%2BDemoX%2BDemo_Course",
2121
].join(""),
2222
},

0 commit comments

Comments
 (0)