/**
  * @dataProvider provideBasicRoutes
  */
 public function testFormLoads($method, $route)
 {
     $this->actingAs(User::find(1))->call($method, $route);
     $this->assertResponseOk();
 }
Example #2
0
 public function testEditImageFormLoads()
 {
     $this->createTestImage();
     $this->actingAs(User::find(1))->call('GET', 'admin/images/1/edit');
     $this->assertResponseOk();
 }