Remove unnecessary model tests

This commit is contained in:
Phan An 2019-06-30 11:44:58 +02:00
parent 9efd232daf
commit 193b484839
7 changed files with 0 additions and 115 deletions

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Unit\Models;
use App\Models\Album;
use Tests\TestCase;
class AlbumTest extends TestCase
{
/** @test */
public function it_can_be_instantiated()
{
$this->assertInstanceOf(Album::class, new Album());
}
}

View file

@ -1,25 +0,0 @@
<?php
namespace Tests\Unit\Models;
use App\Models\Artist;
use Tests\TestCase;
class ArtistTest extends TestCase
{
/** @test */
public function it_can_be_instantiated()
{
$this->assertInstanceOf(Artist::class, new Artist());
}
/** @test */
public function various_artist_can_be_retrieved()
{
// When I retrieve the Various Artist
$artist = Artist::getVariousArtist();
// Then I received the Various Artist
$this->assertTrue($artist->is_various);
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Unit\Models;
use App\Models\Interaction;
use Tests\TestCase;
class InteractionTest extends TestCase
{
/** @test */
public function it_can_be_instantiated()
{
$this->assertInstanceOf(Interaction::class, new Interaction());
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Unit\Models;
use App\Models\Playlist;
use Tests\TestCase;
class PlaylistTest extends TestCase
{
/** @test */
public function it_can_be_instantiated()
{
$this->assertInstanceOf(Playlist::class, new Playlist());
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Unit\Models;
use App\Models\Setting;
use Tests\TestCase;
class SettingTest extends TestCase
{
/** @test */
public function it_can_be_instantiated()
{
$this->assertInstanceOf(Setting::class, new Setting());
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Unit\Models;
use App\Models\Song;
use Tests\TestCase;
class SongTest extends TestCase
{
/** @test */
public function it_can_be_instantiated()
{
$this->assertInstanceOf(Song::class, new Song());
}
}

View file

@ -1,15 +0,0 @@
<?php
namespace Tests\Unit\Models;
use App\Models\User;
use Tests\TestCase;
class UserTest extends TestCase
{
/** @test */
public function it_can_be_instantiated()
{
$this->assertInstanceOf(User::class, new User());
}
}