mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-26 22:19:41 -08:00
Add context to incomplete tests
This commit is contained in:
parent
ab5fed09db
commit
a333d7b72f
|
@ -17,7 +17,9 @@ class DepartmentsIndexTest extends TestCase
|
||||||
|
|
||||||
public function testDepartmentsIndexAdheresToCompanyScoping()
|
public function testDepartmentsIndexAdheresToCompanyScoping()
|
||||||
{
|
{
|
||||||
$this->markTestIncomplete();
|
$this->markTestIncomplete(
|
||||||
|
'Waiting for removal of Company::scopeCompanyables in DepartmentsController@index'
|
||||||
|
);
|
||||||
|
|
||||||
[$companyA, $companyB] = Company::factory()->count(2)->create();
|
[$companyA, $companyB] = Company::factory()->count(2)->create();
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,9 @@ class UsersIndexTest extends TestCase
|
||||||
|
|
||||||
public function testUsersIndexAdheresToCompanyScoping()
|
public function testUsersIndexAdheresToCompanyScoping()
|
||||||
{
|
{
|
||||||
$this->markTestIncomplete();
|
$this->markTestIncomplete(
|
||||||
|
'Waiting for removal of Company::scopeCompanyables in UsersController@index'
|
||||||
|
);
|
||||||
|
|
||||||
[$companyA, $companyB] = Company::factory()->count(2)->create();
|
[$companyA, $companyB] = Company::factory()->count(2)->create();
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,9 @@ class DashboardTest extends TestCase
|
||||||
|
|
||||||
public function testUserCountIsScopedByCompany()
|
public function testUserCountIsScopedByCompany()
|
||||||
{
|
{
|
||||||
$this->markTestIncomplete();
|
$this->markTestIncomplete(
|
||||||
|
'Waiting for removal of Company::scopeCompanyables in DashboardController@index'
|
||||||
|
);
|
||||||
|
|
||||||
$this->settings->enableMultipleFullCompanySupport();
|
$this->settings->enableMultipleFullCompanySupport();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue