Some small fixes needed for the tests
This commit is contained in:
parent
961b7d1acf
commit
b0ad1d272c
9 changed files with 780 additions and 645 deletions
|
@ -51,7 +51,7 @@ class ArticlesTest extends TestCase
|
|||
fclose($fh);
|
||||
}
|
||||
$path = sys_get_temp_dir() . '/article.md';
|
||||
$file = new UploadedFile($path, 'article.md', 'text/plain', filesize($path), null, true);
|
||||
$file = new UploadedFile($path, 'article.md', 'text/plain', null, true);
|
||||
|
||||
$this->actingAs($user)
|
||||
->post('/admin/blog', [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue