Add context to incomplete tests

This commit is contained in:
Marcus Moore 2023-06-22 12:48:09 -07:00
parent ab5fed09db
commit a333d7b72f
No known key found for this signature in database
3 changed files with 9 additions and 3 deletions

View file

@ -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();

View file

@ -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();

View file

@ -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();