Add support for SSL in development (#5668)
This commit is contained in:
@@ -105,7 +105,7 @@ describe("#auth.config", () => {
|
||||
});
|
||||
|
||||
it("should return available providers for team subdomain", async () => {
|
||||
env.URL = sharedEnv.URL = "http://localoutline.com";
|
||||
env.URL = sharedEnv.URL = "https://app.outline.dev";
|
||||
env.SUBDOMAINS_ENABLED = sharedEnv.SUBDOMAINS_ENABLED = true;
|
||||
env.DEPLOYMENT = "hosted";
|
||||
|
||||
@@ -121,7 +121,7 @@ describe("#auth.config", () => {
|
||||
});
|
||||
const res = await server.post("/api/auth.config", {
|
||||
headers: {
|
||||
host: `example.localoutline.com`,
|
||||
host: `example.outline.dev`,
|
||||
},
|
||||
});
|
||||
const body = await res.json();
|
||||
@@ -155,7 +155,7 @@ describe("#auth.config", () => {
|
||||
});
|
||||
|
||||
it("should return email provider for team when guest signin enabled", async () => {
|
||||
env.URL = sharedEnv.URL = "http://localoutline.com";
|
||||
env.URL = sharedEnv.URL = "https://app.outline.dev";
|
||||
env.DEPLOYMENT = "hosted";
|
||||
|
||||
await buildTeam({
|
||||
@@ -170,7 +170,7 @@ describe("#auth.config", () => {
|
||||
});
|
||||
const res = await server.post("/api/auth.config", {
|
||||
headers: {
|
||||
host: "example.localoutline.com",
|
||||
host: "example.outline.dev",
|
||||
},
|
||||
});
|
||||
const body = await res.json();
|
||||
@@ -181,7 +181,7 @@ describe("#auth.config", () => {
|
||||
});
|
||||
|
||||
it("should not return provider when disabled", async () => {
|
||||
env.URL = sharedEnv.URL = "http://localoutline.com";
|
||||
env.URL = sharedEnv.URL = "https://app.outline.dev";
|
||||
env.DEPLOYMENT = "hosted";
|
||||
|
||||
await buildTeam({
|
||||
@@ -197,7 +197,7 @@ describe("#auth.config", () => {
|
||||
});
|
||||
const res = await server.post("/api/auth.config", {
|
||||
headers: {
|
||||
host: "example.localoutline.com",
|
||||
host: "example.outline.dev",
|
||||
},
|
||||
});
|
||||
const body = await res.json();
|
||||
|
||||
Reference in New Issue
Block a user