Esempio n. 1
0
 /**
  * Testing Lot destroy funciton
  */
 public function testDelete()
 {
     $this->be(User::first());
     $this->runStore($this->input);
     $lot = new LotController();
     $lot->delete(1);
     $lotDeleted = Lot::withTrashed()->find(1);
     $this->assertNotNull($lotDeleted->deleted_at);
 }