Improve name

This commit is contained in:
Marcus Moore 2024-10-17 14:53:18 -07:00
parent 15c2169477
commit 99dd51a965
No known key found for this signature in database
7 changed files with 7 additions and 7 deletions

View file

@ -14,7 +14,7 @@ class CreateAccessoryWithFullMultipleCompanySupportTest extends TestCase
use ProvidesDataForFullMultipleCompanySupportTesting;
#[Group('focus')]
#[DataProvider('userProvider')]
#[DataProvider('dataForFullMultipleCompanySupportTesting')]
public function testAdheresToFullMultipleCompaniesSupportScoping($data)
{
['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();

View file

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

View file

@ -15,7 +15,7 @@ class StoreAssetWithFullMultipleCompanySupportTest extends TestCase
use ProvidesDataForFullMultipleCompanySupportTesting;
#[Group('focus')]
#[DataProvider('userProvider')]
#[DataProvider('dataForFullMultipleCompanySupportTesting')]
public function testAdheresToFullMultipleCompaniesSupportScoping($data)
{
['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();

View file

@ -14,7 +14,7 @@ class StoreComponentWithFullMultipleCompanySupportTest extends TestCase
use ProvidesDataForFullMultipleCompanySupportTesting;
#[Group('focus')]
#[DataProvider('userProvider')]
#[DataProvider('dataForFullMultipleCompanySupportTesting')]
public function testAdheresToFullMultipleCompaniesSupportScoping($data)
{
['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();

View file

@ -14,7 +14,7 @@ class StoreConsumableWithFullMultipleCompanySupportTest extends TestCase
use ProvidesDataForFullMultipleCompanySupportTesting;
#[Group('focus')]
#[DataProvider('userProvider')]
#[DataProvider('dataForFullMultipleCompanySupportTesting')]
public function testAdheresToFullMultipleCompaniesSupportScoping($data)
{
['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();

View file

@ -14,7 +14,7 @@ class StoreLicenseWithFullMultipleCompanySupportTest extends TestCase
use ProvidesDataForFullMultipleCompanySupportTesting;
#[Group('focus')]
#[DataProvider('userProvider')]
#[DataProvider('dataForFullMultipleCompanySupportTesting')]
public function testAdheresToFullMultipleCompaniesSupportScoping($data)
{
['actor' => $actor, 'company_attempting_to_associate' => $company, 'assertions' => $assertions] = $data();

View file

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