Skip to content

Commit fcea616

Browse files
reeshika-hclaude
andcommitted
Fix: use approved placeholder in retry test
Use the INVALID_API_KEY placeholder for the invalid-key literals. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
1 parent 881e6eb commit fcea616

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎test/integration/NetworkResilienceTests/RetryLogic.test.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ describe('Retry Logic & Network Resilience - Comprehensive Tests', () => {
270270
describe('Error Scenarios', () => {
271271
test('Error_InvalidAPIKey_FailsWithoutRetry', async () => {
272272
const localStack = Contentstack.Stack({
273-
api_key: 'invalid_api_key_12345',
273+
api_key: 'INVALID_API_KEY',
274274
delivery_token: config.stack.delivery_token,
275275
environment: config.stack.environment,
276276
fetchOptions: {
@@ -436,7 +436,7 @@ describe('Retry Logic & Network Resilience - Comprehensive Tests', () => {
436436
const RETRY_LIMIT = 5;
437437

438438
const localStack = Contentstack.Stack({
439-
api_key: 'invalid_api_key_for_timing_test',
439+
api_key: 'INVALID_API_KEY',
440440
delivery_token: config.stack.delivery_token,
441441
environment: config.stack.environment,
442442
fetchOptions: {

0 commit comments

Comments
 (0)