mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 08:04:03 +00:00
Fix TestWith usage
This commit is contained in:
parent
5fa5c3b7dd
commit
e1b007946b
1 changed files with 3 additions and 3 deletions
|
|
@ -149,7 +149,7 @@ class QueueTest extends TestCase
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Test] #[TestWith([true, false])]
|
#[Test] #[TestWith([true])] #[TestWith([false])]
|
||||||
public function tenancy_is_initialized_inside_queues(bool $shouldEndTenancy)
|
public function tenancy_is_initialized_inside_queues(bool $shouldEndTenancy)
|
||||||
{
|
{
|
||||||
$this->withTenantDatabases();
|
$this->withTenantDatabases();
|
||||||
|
|
@ -184,7 +184,7 @@ class QueueTest extends TestCase
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
#[Test] #[TestWith([true, false])]
|
#[Test] #[TestWith([true])] #[TestWith([false])]
|
||||||
public function tenancy_is_initialized_when_retrying_jobs(bool $shouldEndTenancy)
|
public function tenancy_is_initialized_when_retrying_jobs(bool $shouldEndTenancy)
|
||||||
{
|
{
|
||||||
$this->withFailedJobs();
|
$this->withFailedJobs();
|
||||||
|
|
@ -260,7 +260,7 @@ class TestJob implements ShouldQueue
|
||||||
/** @var User|null */
|
/** @var User|null */
|
||||||
protected $user;
|
protected $user;
|
||||||
|
|
||||||
public function __construct(Valuestore $valuestore, User $user = null)
|
public function __construct(Valuestore $valuestore, User|null $user = null)
|
||||||
{
|
{
|
||||||
$this->valuestore = $valuestore;
|
$this->valuestore = $valuestore;
|
||||||
$this->user = $user;
|
$this->user = $user;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue