mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 13:57:41 -08:00
Formatting
This commit is contained in:
parent
7f40f55343
commit
b8b3f91ce4
|
@ -10,8 +10,6 @@ use Tests\TestCase;
|
||||||
|
|
||||||
class DeleteUserTest extends TestCase
|
class DeleteUserTest extends TestCase
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
public function testErrorReturnedViaApiIfUserDoesNotExist()
|
public function testErrorReturnedViaApiIfUserDoesNotExist()
|
||||||
{
|
{
|
||||||
$this->actingAsForApi(User::factory()->deleteUsers()->create())
|
$this->actingAsForApi(User::factory()->deleteUsers()->create())
|
||||||
|
@ -33,7 +31,6 @@ class DeleteUserTest extends TestCase
|
||||||
->json();
|
->json();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function testDisallowUserDeletionViaApiIfStillManagingPeople()
|
public function testDisallowUserDeletionViaApiIfStillManagingPeople()
|
||||||
{
|
{
|
||||||
$manager = User::factory()->create();
|
$manager = User::factory()->create();
|
||||||
|
@ -96,7 +93,6 @@ class DeleteUserTest extends TestCase
|
||||||
->json();
|
->json();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function testPermissionsForDeletingIfNotInSameCompanyAndNotSuperadmin()
|
public function testPermissionsForDeletingIfNotInSameCompanyAndNotSuperadmin()
|
||||||
{
|
{
|
||||||
$this->settings->enableMultipleFullCompanySupport();
|
$this->settings->enableMultipleFullCompanySupport();
|
||||||
|
@ -150,6 +146,4 @@ class DeleteUserTest extends TestCase
|
||||||
->json();
|
->json();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue