added set free/paid consultation to the quick approve
This commit is contained in:
@@ -205,7 +205,11 @@ test('quick approve from list works', function () {
|
||||
$this->actingAs($admin);
|
||||
|
||||
Volt::test('admin.bookings.pending')
|
||||
->call('quickApprove', $consultation->id)
|
||||
->call('openApproveModal', $consultation->id)
|
||||
->assertSet('showApproveModal', true)
|
||||
->assertSet('approvingBookingId', $consultation->id)
|
||||
->set('consultationType', 'free')
|
||||
->call('quickApprove')
|
||||
->assertHasNoErrors();
|
||||
|
||||
expect($consultation->fresh())
|
||||
|
||||
Reference in New Issue
Block a user