Skip to content

Commit 70706a7

Browse files
miyoungcclaude
andcommitted
fix(test): align curl stub auth check with retry token
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6d7dce1 commit 70706a7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/onboard-selection.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,7 @@ printf '%s' "$status"
18271827
const credentials = require(${credentialsPath});
18281828
const runner = require(${runnerPath});
18291829
1830-
const answers = ["", "", "retry", "nvapi-good"];
1830+
const answers = ["", "", "retry", "nvapi-TEST-GOOD-NOT-REAL-000000"];
18311831
const messages = [];
18321832
18331833
credentials.prompt = async (message) => {
@@ -1873,7 +1873,7 @@ const { setupNim } = require(${onboardPath});
18731873
const payload = JSON.parse(result.stdout.trim());
18741874
assert.equal(payload.result.provider, "nvidia-prod");
18751875
assert.equal(payload.result.preferredInferenceApi, "openai-responses");
1876-
assert.equal(payload.key, "nvapi-good");
1876+
assert.equal(payload.key, "nvapi-TEST-GOOD-NOT-REAL-000000");
18771877
assert.ok(payload.lines.some((line) => line.includes("NVIDIA Endpoints authorization failed")));
18781878
assert.equal(payload.messages.filter((message) => /Choose \[/.test(message)).length, 1);
18791879
assert.equal(

0 commit comments

Comments
 (0)