Route::get('/create', 'ImagesController@create')->middleware('user');
public function testCreateImgTest()
{
$response = $this->get('/create');
$response->assertStatus(200);
}
public function testCreateImgTest()
{
$this->actingAs($someExistingUser);
$this->get('/create')->assertOk();
}