Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

fix env vars

Steven Tey1b3b3d9b505f
diff --git a/.github/workflows/e2e.yaml b/.github/workflows/e2e.yaml
index 4c841a883a..c012c8baa7 100644
--- a/.github/workflows/e2e.yaml
+++ b/.github/workflows/e2e.yaml
@@ -35,8 +35,8 @@ jobs:
env:
E2E_BASE_URL: ${{ github.event.deployment_status.environment_url }}
E2E_TOKEN: ${{ secrets.E2E_TOKEN }}
+ E2E_TOKEN_OLD: ${{ secrets.E2E_TOKEN_OLD }}
E2E_USER_ID: ${{ secrets.E2E_USER_ID }}
+ E2E_USER_ID_OLD: ${{ secrets.E2E_USER_ID_OLD }}
E2E_WORKSPACE_ID: ${{ secrets.E2E_WORKSPACE_ID }}
- E2E_WORKSPACE_SLUG: ${{ secrets.E2E_WORKSPACE_SLUG }}
- E2E_WORKSPACE_NAME: ${{ secrets.E2E_WORKSPACE_NAME }}
run: pnpm test
diff --git a/apps/web/tests/utils/env.ts b/apps/web/tests/utils/env.ts
index 77e516bfed..5b6e2d104e 100644
--- a/apps/web/tests/utils/env.ts
+++ b/apps/web/tests/utils/env.ts
@@ -7,8 +7,6 @@ export const integrationTestEnv = z.object({
E2E_USER_ID: z.string().min(1),
E2E_USER_ID_OLD: z.string().min(1),
E2E_WORKSPACE_ID: z.string().min(1),
- E2E_WORKSPACE_SLUG: z.string().min(1),
- E2E_WORKSPACE_NAME: z.string().min(1),
CI: z.coerce
.string()
.default("false")
diff --git a/apps/web/tests/utils/integration.ts b/apps/web/tests/utils/integration.ts
index 89f92e4a29..f445e23686 100644
--- a/apps/web/tests/utils/integration.ts
+++ b/apps/web/tests/utils/integration.ts
@@ -40,8 +40,8 @@ export class IntegrationHarness {
const workspace = {
id: this.env.E2E_WORKSPACE_ID,
- slug: this.env.E2E_WORKSPACE_SLUG,
- name: this.env.E2E_WORKSPACE_NAME,
+ slug: "acme",
+ name: "Acme, Inc",
};
this.resources = {