Lucas van Staden
07/01/2025, 7:22 AMChiranjeet Mishra
07/01/2025, 8:28 AMLucas van Staden
07/01/2025, 10:34 AMLucas van Staden
07/01/2025, 10:40 AM'name' => 'dynamic test: reschedule',
'targetPlan' => [
'phoneNumberId' => $_ENV['test_phone_id'] ?? null,
],
In my xml, as from aipi docs.
The test_phone_id is the id of the phone number in vapi (USA one) and the assistant I am calling / testing is connected to that phone ID
so, that looks linked up fine to me?Lucas van Staden
07/01/2025, 10:45 AMLucas van Staden
07/01/2025, 10:47 AMPHPUnit 9.6.23 by Sebastian Bergmann and contributors.
Runtime: PHP 8.2.28
Configuration: /var/www/html/phpunit.xml
🔄 Starting test suite run polling...
📊 Poll #2 | Status: completed | Elapsed: 5s | Remaining: 195s [░░░░░░░░░░░░░░░░░░░░] 2%
❌ Test suite run completed but contains failed test results!
F 1 / 1 (100%)
Time: 00:10.851, Memory: 6.00 MB
There was 1 failure:
1) AppointmentRescheduleTest::testRescheduleMissedAppointments
Should have at least 1 future appointment after attempting to reschedule the missed appointments
Failed asserting that 0 is equal to 1 or is greater than 1.
/var/www/html/tests/unit/AppointmentRescheduleTest.php:441
/var/www/html/tests/unit/AppointmentRescheduleTest.php:237
FAILURES!
Tests: 1, Assertions: 17, Failures: 1.Lucas van Staden
07/01/2025, 10:53 AM$rubric = [
"The assistant should offer to help reschedule missed appointments",
"The assistant should provide clear next steps for rescheduling",
"The assistant should respond in a professional and helpful manner",
"The assistant should ask clarifying questions when needed",
"The assistant should provide accurate information about available appointment options"
];
to
$rubric = [
"The assistant should respond in a professional and helpful manner",
"The assistant should ask clarifying questions when needed",
"The assistant should provide accurate information about available appointment options"
];Chiranjeet Mishra
07/02/2025, 7:46 PMLucas van Staden
07/05/2025, 1:01 PMLucas van Staden
07/06/2025, 8:53 AMChiranjeet Mishra
07/08/2025, 2:00 AMLucas van Staden
07/15/2025, 1:56 PMChiranjeet Mishra
07/16/2025, 11:43 PMChiranjeet Mishra
07/26/2025, 1:35 PMLucas van Staden
07/27/2025, 10:32 PMChiranjeet Mishra
08/01/2025, 6:51 PMLucas van Staden
08/02/2025, 4:15 AMLucas van Staden
08/02/2025, 4:48 AMChiranjeet Mishra
08/05/2025, 5:24 PMLucas van Staden
08/14/2025, 11:44 AMLucas van Staden
09/01/2025, 3:52 AMChiranjeet Mishra
09/05/2025, 12:47 AM