mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Remove duplicate trait
This commit is contained in:
parent
1afb724606
commit
948dc3c974
|
@ -5,13 +5,10 @@ namespace Tests\Feature\Api\Users;
|
||||||
use App\Models\User;
|
use App\Models\User;
|
||||||
use Tests\Support\InteractsWithSettings;
|
use Tests\Support\InteractsWithSettings;
|
||||||
use Tests\TestCase;
|
use Tests\TestCase;
|
||||||
use Tests\Support\InteractsWithAuthentication;
|
|
||||||
|
|
||||||
|
|
||||||
class UpdateUserApiTest extends TestCase
|
class UpdateUserApiTest extends TestCase
|
||||||
{
|
{
|
||||||
use InteractsWithSettings;
|
use InteractsWithSettings;
|
||||||
use InteractsWithAuthentication;
|
|
||||||
|
|
||||||
public function testApiUsersCanBeActivatedWithNumber()
|
public function testApiUsersCanBeActivatedWithNumber()
|
||||||
{
|
{
|
||||||
|
@ -64,5 +61,4 @@ class UpdateUserApiTest extends TestCase
|
||||||
|
|
||||||
$this->assertEquals(0, $user->refresh()->activated);
|
$this->assertEquals(0, $user->refresh()->activated);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,6 +23,7 @@ class AssetTest extends TestCase
|
||||||
$this->assertModelExists($b);
|
$this->assertModelExists($b);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testAutoIncrementCollision()
|
public function testAutoIncrementCollision()
|
||||||
{
|
{
|
||||||
$this->settings->enableAutoIncrement();
|
$this->settings->enableAutoIncrement();
|
||||||
|
|
Loading…
Reference in a new issue