Ejemplo n.º 1
0
 /**
  * @test
  * @large
  */
 public function testDelete()
 {
     $this->assertEquals(5, Booking::count());
     $assert = Booking::find(1);
     $assert->delete();
     $this->assertEquals(4, Booking::count());
     unset($assert);
     $assert = Booking::find(1);
     $this->assertNull($assert);
 }