mirror of
https://github.com/msitarzewski/agency-agents/
synced 2026-06-09 10:13:17 +00:00
Replace literal passwords in two testing-agent code samples with environment-variable reads — the secure, idiomatic pattern for each framework rather than a placeholder string: - testing-api-tester.md: 'secure_password' -> process.env.TEST_USER_PASSWORD - testing-performance-benchmarker.md: 'password123' -> __ENV.TEST_USER_PASSWORD (k6) Removes the weak-credential examples flagged in #477 and models good secrets hygiene for anyone copying these snippets. Closes #477 Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
f8d94c72c4
commit
4e905cff59
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user