Apply fixes from StyleCI (#856)

This commit is contained in:
Phan An 2018-11-18 22:50:37 +01:00 committed by GitHub
parent d45948e1bd
commit 6122a25554
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,16 +2,10 @@
namespace Tests\Integration\Services; namespace Tests\Integration\Services;
use App\Models\Album;
use App\Models\Artist;
use App\Models\Interaction;
use App\Models\Playlist;
use App\Models\Rule; use App\Models\Rule;
use App\Models\Song;
use App\Models\User; use App\Models\User;
use App\Services\SmartPlaylistService; use App\Services\SmartPlaylistService;
use Carbon\Carbon; use Carbon\Carbon;
use Illuminate\Database\Eloquent\Collection;
use Tests\TestCase; use Tests\TestCase;
class SmartPlaylistServiceTest extends TestCase class SmartPlaylistServiceTest extends TestCase
@ -34,7 +28,7 @@ class SmartPlaylistServiceTest extends TestCase
private function readFixtureFile(string $fileName): array private function readFixtureFile(string $fileName): array
{ {
return json_decode(file_get_contents(__DIR__ . '/../../blobs/rules/' . $fileName), true); return json_decode(file_get_contents(__DIR__.'/../../blobs/rules/'.$fileName), true);
} }
public function provideRules(): array public function provideRules(): array