mirror of
https://github.com/msitarzewski/agency-agents.git
synced 2026-06-26 11:44:38 +03:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 77b723ecc5 |
@@ -74,7 +74,7 @@ describe('User API Comprehensive Testing', () => {
|
|||||||
headers: { 'Content-Type': 'application/json' },
|
headers: { 'Content-Type': 'application/json' },
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
email: 'test@example.com',
|
email: 'test@example.com',
|
||||||
password: 'secure_password'
|
password: process.env.TEST_USER_PASSWORD
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
const data = await response.json();
|
const data = await response.json();
|
||||||
|
|||||||
@@ -90,7 +90,7 @@ export default function () {
|
|||||||
// Test critical user journey
|
// Test critical user journey
|
||||||
const loginResponse = http.post(`${baseUrl}/api/auth/login`, {
|
const loginResponse = http.post(`${baseUrl}/api/auth/login`, {
|
||||||
email: 'test@example.com',
|
email: 'test@example.com',
|
||||||
password: 'password123'
|
password: __ENV.TEST_USER_PASSWORD
|
||||||
});
|
});
|
||||||
|
|
||||||
check(loginResponse, {
|
check(loginResponse, {
|
||||||
|
|||||||
Reference in New Issue
Block a user