diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 48dbe27d8..1f0bc9315 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -146,7 +146,7 @@ jobs: - name: All Features env: - PHYLUM_API_KEY: ${{ secrets.PHYLUM_TOKEN_STAGING }} + PHYLUM_API_KEY: ${{ secrets.PHYLUM_TOKEN }} run: cargo +stable test --all-features deno-checks: diff --git a/cli/tests/common.rs b/cli/tests/common.rs index b58d97397..86199fd65 100644 --- a/cli/tests/common.rs +++ b/cli/tests/common.rs @@ -16,7 +16,7 @@ use phylum_types::types::auth::RefreshToken; use reqwest::StatusCode; use tempfile::TempDir; -pub const API_URL: &str = "https://api.staging.phylum.io"; +pub const API_URL: &str = "https://api.phylum.io"; const PROJECT_NAME: &str = "integration-tests"; #[derive(Default)] diff --git a/extensions/phylum.d.ts b/extensions/phylum.d.ts index 69f79fa50..6ab73af1c 100644 --- a/extensions/phylum.d.ts +++ b/extensions/phylum.d.ts @@ -65,7 +65,7 @@ declare namespace Phylum { /** * Send a request to the Phylum REST API. * - * See https://api.staging.phylum.io/api/v0/swagger/index.html for available API endpoints. + * See https://api.phylum.io/api/v0/swagger/index.html for available API endpoints. * * The `init` parameter matches the `init` parameter of the Deno `fetch` function: * https://deno.land/api@latest?s=fetch @@ -175,7 +175,7 @@ declare namespace Phylum { * { * is_failure: false, * incomplete_count: 0, - * report: "# Phylum OSS Supply Chain Risk Analysis - SUCCESS\n\nThe Phylum risk analysis is complete and did not identify any issues.\n\n[View this project in the Phylum UI](https://app.staging.phylum.io/projects/739098bc-c954-4bf6-aa36-692f5483edaa?label=uncategorized)\n", + * report: "# Phylum OSS Supply Chain Risk Analysis - SUCCESS\n\nThe Phylum risk analysis is complete and did not identify any issues.\n\n[View this project in the Phylum UI](https://app.phylum.io/projects/739098bc-c954-4bf6-aa36-692f5483edaa?label=uncategorized)\n", * output: "{\"dependencies\":[],\"errors\":[]}" * } * ``` diff --git a/extensions/poetry/tests.ts b/extensions/poetry/tests.ts index 168444877..be9451188 100644 --- a/extensions/poetry/tests.ts +++ b/extensions/poetry/tests.ts @@ -68,7 +68,7 @@ afterAll(async () => { }); describe("Poetry extension", () => { - // These tests may fail if the packages aren't processed on staging. + // These tests may fail if the packages aren't processed yet. it("correctly handles the `--dry-run` argument", async () => { const status = await phylum.runExt(