Updated test names

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2024-05-31 23:13:27 +01:00
parent abcfe2b757
commit 32c367090b

View file

@ -10,7 +10,7 @@ use App\Notifications\CurrentInventory;
class ViewUserTest extends TestCase class ViewUserTest extends TestCase
{ {
public function testUserWithoutPermissionsCannotViewUserDetailPage() public function testUserWithoutCompanyPermissionsCannotViewUserDetailPage()
{ {
$this->settings->enableMultipleFullCompanySupport(); $this->settings->enableMultipleFullCompanySupport();
@ -29,7 +29,7 @@ class ViewUserTest extends TestCase
->assertStatus(200); ->assertStatus(200);
} }
public function testUserWithoutPermissionsCannotViewPrintAllInventoryPage() public function testUserWithoutCompanyPermissionsCannotViewPrintAllInventoryPage()
{ {
$this->settings->enableMultipleFullCompanySupport(); $this->settings->enableMultipleFullCompanySupport();
//$this->withoutExceptionHandling(); //$this->withoutExceptionHandling();
@ -53,7 +53,7 @@ class ViewUserTest extends TestCase
->assertStatus(200); ->assertStatus(200);
} }
public function testUserWithoutPermissionsCannotSendInventory() public function testUserWithoutCompanyPermissionsCannotSendInventory()
{ {
Notification::fake(); Notification::fake();
@ -81,7 +81,7 @@ class ViewUserTest extends TestCase
); );
} }
public function testUserWithoutPermissionsCannotDeleteUser() public function testUserWithoutCompanyPermissionsCannotDeleteUser()
{ {
$this->settings->enableMultipleFullCompanySupport(); $this->settings->enableMultipleFullCompanySupport();