(change minimum poster width from 400px to 600px)

This commit is contained in:
Adam Wathan
2017-11-14 15:46:22 -05:00
parent 2f8d0ed425
commit d5e2950f92
2 changed files with 3 additions and 3 deletions

View File

@@ -410,11 +410,11 @@ class AddConcertTest extends TestCase
}
/** @test */
function poster_image_must_be_at_least_400px_wide()
function poster_image_must_be_at_least_600px_wide()
{
Storage::fake('public');
$user = factory(User::class)->create();
$file = File::image('poster.png', 399, 516);
$file = File::image('poster.png', 599, 775);
$response = $this->actingAs($user)->from('/backstage/concerts/new')->post('/backstage/concerts', $this->validParams([
'poster_image' => $file,