A free open source IT asset/license management system
Improve name
Marcus Moore99dd51a965c7
diff --git a/tests/Feature/Accessories/Ui/CreateAccessoryWithFullMultipleCompanySupportTest.php b/tests/Feature/Accessories/Ui/CreateAccessoryWithFullMultipleCompanySupportTest.phpindex 42a393e2f8..c256830a63 100644--- a/tests/Feature/Accessories/Ui/CreateAccessoryWithFullMultipleCompanySupportTest.php+++ b/tests/Feature/Accessories/Ui/CreateAccessoryWithFullMultipleCompanySupportTest.php@@ -14,7 +14,7 @@ class CreateAccessoryWithFullMultipleCompanySupportTest extends TestCaseuse ProvidesDataForFullMultipleCompanySupportTesting;#[Group('focus')]- #[DataProvider('userProvider')]+ #[DataProvider('dataForFullMultipleCompanySupportTesting')]public function testAdheresToFullMultipleCompaniesSupportScoping($data){['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();diff --git a/tests/Feature/Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.php b/tests/Feature/Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.phpindex 186355c32a..57d09e7e13 100644--- a/tests/Feature/Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.php+++ b/tests/Feature/Assets/Api/StoreAssetWithFullMultipleCompanySupportTest.php@@ -18,7 +18,7 @@ class StoreAssetWithFullMultipleCompanySupportTest extends TestCase* @link https://github.com/snipe/snipe-it/issues/15654*/#[Group('focus')]- #[DataProvider('userProvider')]+ #[DataProvider('dataForFullMultipleCompanySupportTesting')]public function testAdheresToFullMultipleCompaniesSupportScoping($data){['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();diff --git a/tests/Feature/Assets/Ui/StoreAssetWithFullMultipleCompanySupportTest.php b/tests/Feature/Assets/Ui/StoreAssetWithFullMultipleCompanySupportTest.phpindex 183ad20a5f..b6302f95c8 100644--- a/tests/Feature/Assets/Ui/StoreAssetWithFullMultipleCompanySupportTest.php+++ b/tests/Feature/Assets/Ui/StoreAssetWithFullMultipleCompanySupportTest.php@@ -15,7 +15,7 @@ class StoreAssetWithFullMultipleCompanySupportTest extends TestCaseuse ProvidesDataForFullMultipleCompanySupportTesting;#[Group('focus')]- #[DataProvider('userProvider')]+ #[DataProvider('dataForFullMultipleCompanySupportTesting')]public function testAdheresToFullMultipleCompaniesSupportScoping($data){['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();diff --git a/tests/Feature/Components/Ui/StoreComponentWithFullMultipleCompanySupportTest.php b/tests/Feature/Components/Ui/StoreComponentWithFullMultipleCompanySupportTest.phpindex 7abd762205..13bfd72273 100644--- a/tests/Feature/Components/Ui/StoreComponentWithFullMultipleCompanySupportTest.php+++ b/tests/Feature/Components/Ui/StoreComponentWithFullMultipleCompanySupportTest.php@@ -14,7 +14,7 @@ class StoreComponentWithFullMultipleCompanySupportTest extends TestCaseuse ProvidesDataForFullMultipleCompanySupportTesting;#[Group('focus')]- #[DataProvider('userProvider')]+ #[DataProvider('dataForFullMultipleCompanySupportTesting')]public function testAdheresToFullMultipleCompaniesSupportScoping($data){['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();diff --git a/tests/Feature/Consumables/Ui/StoreConsumableWithFullMultipleCompanySupportTest.php b/tests/Feature/Consumables/Ui/StoreConsumableWithFullMultipleCompanySupportTest.phpindex fb9ab1e3b4..00b2f5529d 100644--- a/tests/Feature/Consumables/Ui/StoreConsumableWithFullMultipleCompanySupportTest.php+++ b/tests/Feature/Consumables/Ui/StoreConsumableWithFullMultipleCompanySupportTest.php@@ -14,7 +14,7 @@ class StoreConsumableWithFullMultipleCompanySupportTest extends TestCaseuse ProvidesDataForFullMultipleCompanySupportTesting;#[Group('focus')]- #[DataProvider('userProvider')]+ #[DataProvider('dataForFullMultipleCompanySupportTesting')]public function testAdheresToFullMultipleCompaniesSupportScoping($data){['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();diff --git a/tests/Feature/Licenses/Ui/StoreLicenseWithFullMultipleCompanySupportTest.php b/tests/Feature/Licenses/Ui/StoreLicenseWithFullMultipleCompanySupportTest.phpindex dcb827a842..75a4b1f552 100644--- a/tests/Feature/Licenses/Ui/StoreLicenseWithFullMultipleCompanySupportTest.php+++ b/tests/Feature/Licenses/Ui/StoreLicenseWithFullMultipleCompanySupportTest.php@@ -14,7 +14,7 @@ class StoreLicenseWithFullMultipleCompanySupportTest extends TestCaseuse ProvidesDataForFullMultipleCompanySupportTesting;#[Group('focus')]- #[DataProvider('userProvider')]+ #[DataProvider('dataForFullMultipleCompanySupportTesting')]public function testAdheresToFullMultipleCompaniesSupportScoping($data){['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();diff --git a/tests/Support/ProvidesDataForFullMultipleCompanySupportTesting.php b/tests/Support/ProvidesDataForFullMultipleCompanySupportTesting.phpindex fad4c2ae7b..d247b98161 100644--- a/tests/Support/ProvidesDataForFullMultipleCompanySupportTesting.php+++ b/tests/Support/ProvidesDataForFullMultipleCompanySupportTesting.php@@ -8,7 +8,7 @@ use Generator;trait ProvidesDataForFullMultipleCompanySupportTesting{- public static function userProvider(): Generator+ public static function dataForFullMultipleCompanySupportTesting(): Generator{yield "User in a company should result in user's company_id being used" => [function () {