A free open source IT asset/license management system
Add context to incomplete tests
Marcus Moorea333d7b72fba
diff --git a/tests/Feature/Api/Departments/DepartmentsIndexTest.php b/tests/Feature/Api/Departments/DepartmentsIndexTest.phpindex d791c79e93..7e813ad9cb 100644--- a/tests/Feature/Api/Departments/DepartmentsIndexTest.php+++ b/tests/Feature/Api/Departments/DepartmentsIndexTest.php@@ -17,7 +17,9 @@ class DepartmentsIndexTest extends TestCasepublic function testDepartmentsIndexAdheresToCompanyScoping(){- $this->markTestIncomplete();+ $this->markTestIncomplete(+ 'Waiting for removal of Company::scopeCompanyables in DepartmentsController@index'+ );[$companyA, $companyB] = Company::factory()->count(2)->create();diff --git a/tests/Feature/Api/Users/UsersIndexTest.php b/tests/Feature/Api/Users/UsersIndexTest.phpindex 16893cd174..b48da4483d 100644--- a/tests/Feature/Api/Users/UsersIndexTest.php+++ b/tests/Feature/Api/Users/UsersIndexTest.php@@ -16,7 +16,9 @@ class UsersIndexTest extends TestCasepublic function testUsersIndexAdheresToCompanyScoping(){- $this->markTestIncomplete();+ $this->markTestIncomplete(+ 'Waiting for removal of Company::scopeCompanyables in UsersController@index'+ );[$companyA, $companyB] = Company::factory()->count(2)->create();diff --git a/tests/Feature/DashboardTest.php b/tests/Feature/DashboardTest.phpindex c5c41d268e..1772eac316 100644--- a/tests/Feature/DashboardTest.php+++ b/tests/Feature/DashboardTest.php@@ -20,7 +20,9 @@ class DashboardTest extends TestCasepublic function testUserCountIsScopedByCompany(){- $this->markTestIncomplete();+ $this->markTestIncomplete(+ 'Waiting for removal of Company::scopeCompanyables in DashboardController@index'+ );$this->settings->enableMultipleFullCompanySupport();