diff --git a/backend/e2e-tester/simulation.js b/backend/e2e-tester/simulation.js index f003b64..5efd6c1 100644 --- a/backend/e2e-tester/simulation.js +++ b/backend/e2e-tester/simulation.js @@ -37,7 +37,6 @@ async function run() { // 1. Authenticate Demo Driver const driverPhone = '+962790000001'; console.log(`[Driver] Authenticating Demo Driver (${driverPhone})...`); - await api('POST', '/auth/send-otp', { phone: driverPhone }); const driverAuth = await api('POST', '/auth/verify-otp', { phone: driverPhone, code: '1234' }); const driverToken = driverAuth.access_token; console.log('\x1b[32m[Driver] Authenticated successfully!\x1b[0m\n'); @@ -45,7 +44,6 @@ async function run() { // 2. Authenticate Demo Rider const riderPhone = '+962790000002'; console.log(`[Rider] Authenticating Demo Rider (${riderPhone})...`); - await api('POST', '/auth/send-otp', { phone: riderPhone }); const riderAuth = await api('POST', '/auth/verify-otp', { phone: riderPhone, code: '1234' }); const riderToken = riderAuth.access_token; console.log('\x1b[32m[Rider] Authenticated successfully!\x1b[0m\n');