mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-05 09:54:05 +00:00
assertArraySubset() is deprecated
This commit is contained in:
parent
2ebf4d516f
commit
d527191b89
2 changed files with 6 additions and 1 deletions
|
|
@ -102,4 +102,9 @@ abstract class TestCase extends \Orchestra\Testbench\TestCase
|
|||
// set one of these environment vars on their computer.
|
||||
return env('CI') && env('TRAVIS') && env('CONTINUOUS_INTEGRATION');
|
||||
}
|
||||
|
||||
public function assertArrayIsSubset($subset, $array, string $message = ''): void
|
||||
{
|
||||
parent::assertTrue(array_intersect($subset, $array) == $subset, $message);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue