Skip to content

Commit 7612030

Browse files
committed
Adding a redirect assertion to FileTest
1 parent c965555 commit 7612030

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Integration/FileTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public function testImageUploadStore()
9191
'_save' => 'save',
9292
]), [], $files);
9393

94+
$this->assertResponseStatus(302);
9495
$article = Article::findBySlug('example-title');
9596
$this->assertNotEmpty($article->img()->url);
9697
}

0 commit comments

Comments
 (0)