File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ public function testRetry(): void
344
344
$ handler = new DatabaseHandler ($ this ->config );
345
345
$ count = $ handler ->retry (1 , 'queue1 ' );
346
346
347
- $ this ->assertSame ($ count , 1 );
347
+ $ this ->assertSame (1 , $ count );
348
348
349
349
$ this ->seeInDatabase ('queue_jobs ' , [
350
350
'id ' => 3 ,
Original file line number Diff line number Diff line change @@ -288,7 +288,7 @@ public function testRetry(): void
288
288
$ handler = new PredisHandler ($ this ->config );
289
289
$ count = $ handler ->retry (1 , 'queue1 ' );
290
290
291
- $ this ->assertSame ($ count , 1 );
291
+ $ this ->assertSame (1 , $ count );
292
292
293
293
$ predis = self ::getPrivateProperty ($ handler , 'predis ' );
294
294
$ this ->assertSame (2 , $ predis ->zcard ('queues:queue1:default ' ));
Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ public function testRetry(): void
254
254
$ handler = new RedisHandler ($ this ->config );
255
255
$ count = $ handler ->retry (1 , 'queue1 ' );
256
256
257
- $ this ->assertSame ($ count , 1 );
257
+ $ this ->assertSame (1 , $ count );
258
258
259
259
$ redis = self ::getPrivateProperty ($ handler , 'redis ' );
260
260
$ this ->assertSame (2 , $ redis ->zCard ('queues:queue1:default ' ));
You can’t perform that action at this time.
0 commit comments