diff --git a/tests/Feature/BookingTest.php b/tests/Feature/BookingTest.php index 2116c946..f50ae74e 100644 --- a/tests/Feature/BookingTest.php +++ b/tests/Feature/BookingTest.php @@ -104,12 +104,12 @@ class BookingTest extends TestCase } - // public function testCancel() - // { - // $this->actingAs($this->user) - // ->json('POST','/api/booking/' . $this->booking->id . '/cancel', []) - // ->assertSuccessful(); - // } + public function testCancel() + { + $this->actingAs($this->user) + ->json('POST','/api/booking/' . $this->booking->id . '/cancelBooking', []) + ->assertSuccessful(); + } public function testApproveBankSlip() {