testCancelCorrection

This commit is contained in:
lonetrinity
2018-10-26 11:06:40 +08:00
parent c0517f8cbb
commit fd96130221
+6 -6
View File
@@ -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()
{