This commit is contained in:
Phan An 2017-06-10 00:46:12 +01:00
parent 3fccfa8963
commit 35bba0e4b6

View file

@ -151,9 +151,9 @@ class MediaTest extends BrowserKitTestCase
$media->sync($this->mediaPath, ['track'], true);
$addedSong = Song::findOrFail($song)->toArray();
array_forget($addedSong, 'created_date');
array_forget($addedSong, 'created_at');
$song = $song->toArray();
array_forget($song, 'created_date');
array_forget($song, 'created_at');
$this->assertEquals($song, $addedSong);
}