public function testDeleteStaffOk()
 {
     $user = App\User::all()->last();
     $staff = App\Staff::count();
     $this->actingAs($user)->call('delete', '/staff/' . App\Staff::all()->last()->Id);
     $this->assertNotEquals($staff - 1, App\Staff::count());
 }
 public function testAddRepairDateFail3()
 {
     $user = App\User::all()->last();
     $count = App\Repair::count();
     $this->actingAs($user)->visit('/repairs/create')->select(App\Car::all()->last()->LicencePlate, 'LicencePlate')->select(App\Staff::all()->last()->Id, 'StaffId')->check('Ongoing')->type('Oil change', 'Type')->type('Just a routine exercise.', 'Comments')->type('2016-02-14asd', 'StartDate')->type('2016/02/16', 'EndDate')->type('50', 'Cost')->press('Add repair');
     $this->assertEquals($count, App\Repair::count());
 }