Skip to content

Commit

Permalink
[queue] QueueableConfigTest fix (#2).
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed May 15, 2021
1 parent 73edde8 commit 1e09e33
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions packages/queue/src/Configs/QueueableConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ public function getQueueClass(): string {
* @dataProvider dataProviderConfig
*
* @param array<mixed>|\Exception $expected
* @param array<mixed> $appConfig
* @param array<mixed> $queueableConfig
* @param array<mixed> $appConfig
* @param array<mixed> $queueableConfig
*/
public function testConfig(array|Exception $expected, array $appConfig, array $queueableConfig): void {
$container = Container::getInstance();
Expand Down Expand Up @@ -164,6 +164,7 @@ public function dataProviderConfig(): array {
'deleteWhenMissingModels' => null,
'debug' => false,
'retryUntil' => null,
'afterCommit' => null,
],
[],
[],
Expand All @@ -179,6 +180,7 @@ public function dataProviderConfig(): array {
'deleteWhenMissingModels' => null,
'debug' => false,
'retryUntil' => null,
'afterCommit' => null,
],
[
'queue' => 'app',
Expand All @@ -197,6 +199,7 @@ public function dataProviderConfig(): array {
'deleteWhenMissingModels' => null,
'debug' => false,
'retryUntil' => null,
'afterCommit' => null,
],
[],
[
Expand All @@ -215,6 +218,7 @@ public function dataProviderConfig(): array {
'deleteWhenMissingModels' => null,
'debug' => false,
'retryUntil' => null,
'afterCommit' => null,
],
[
'queue' => 'app',
Expand Down Expand Up @@ -244,6 +248,7 @@ public function dataProviderConfig(): array {
'debug' => false,
'unknown' => 'key',
'retryUntil' => null,
'afterCommit' => null,
],
[],
[
Expand Down

0 comments on commit 1e09e33

Please sign in to comment.