diff --git a/testing/testing-api-tester.md b/testing/testing-api-tester.md index c2f132f..1ea5e50 100644 --- a/testing/testing-api-tester.md +++ b/testing/testing-api-tester.md @@ -74,7 +74,7 @@ describe('User API Comprehensive Testing', () => { headers: { 'Content-Type': 'application/json' }, body: JSON.stringify({ email: 'test@example.com', - password: 'secure_password' + password: process.env.TEST_USER_PASSWORD }) }); const data = await response.json(); diff --git a/testing/testing-performance-benchmarker.md b/testing/testing-performance-benchmarker.md index 4e90dac..1845fb5 100644 --- a/testing/testing-performance-benchmarker.md +++ b/testing/testing-performance-benchmarker.md @@ -90,7 +90,7 @@ export default function () { // Test critical user journey const loginResponse = http.post(`${baseUrl}/api/auth/login`, { email: 'test@example.com', - password: 'password123' + password: __ENV.TEST_USER_PASSWORD }); check(loginResponse, {