mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-23 19:59:18 -08:00
Updated test names
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
abcfe2b757
commit
32c367090b
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue