mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
Fix test
This commit is contained in:
parent
3fccfa8963
commit
35bba0e4b6
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue