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
|
@ -86,7 +86,7 @@ class ContactsTest extends TestCase
|
|||
{
|
||||
copy(__DIR__ . '/../../aaron.png', sys_get_temp_dir() . '/tantek.png');
|
||||
$path = sys_get_temp_dir() . '/tantek.png';
|
||||
$file = new UploadedFile($path, 'tantek.png', 'image/png', filesize($path), null, true);
|
||||
$file = new UploadedFile($path, 'tantek.png', 'image/png', null, true);
|
||||
$user = factory(User::class)->create();
|
||||
|
||||
$this->actingAs($user)->post('/admin/contacts/1', [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue