Skip to content

Commit

Permalink
provider tests
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fulbright committed Jan 21, 2025
1 parent 14f01f0 commit 159e083
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/Queue/DynamoDbFailedJobProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function testCanProperlyLogFailedJob()
],
]);

$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table');
$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table', '3');

$provider->log('connection', 'queue', json_encode(['uuid' => (string) $uuid]), $exception);

Expand Down Expand Up @@ -83,7 +83,7 @@ public function testCanRetrieveAllFailedJobs()
],
]);

$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table');
$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table', '3');

$response = $provider->all();

Expand Down Expand Up @@ -124,7 +124,7 @@ public function testASingleJobCanBeFound()
],
]);

$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table');
$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table', '3');

$response = $provider->find('id');

Expand Down Expand Up @@ -152,7 +152,7 @@ public function testNullIsReturnedIfJobNotFound()
],
])->andReturn([]);

$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table');
$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table', '3');

$response = $provider->find('id');

Expand All @@ -171,7 +171,7 @@ public function testJobsCanBeDeleted()
],
])->andReturn([]);

$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table');
$provider = new DynamoDbFailedJobProvider($dynamoDbClient, 'application', 'table', '3');

$provider->forget('id');
}
Expand Down

0 comments on commit 159e083

Please sign in to comment.