From fd96130221073060fa865e528076f0860fc3d95a Mon Sep 17 00:00:00 2001 From: lonetrinity Date: Fri, 26 Oct 2018 11:06:40 +0800 Subject: [PATCH] testCancelCorrection --- tests/Feature/BookingTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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() {