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