Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
raftx24 committed Jan 28, 2021
1 parent 99efd25 commit c3ec768
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Bus/BusBatchTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,15 +379,15 @@ public function test_options_unserialize_on_postgres()
'failed_jobs' => '',
'failed_job_ids' => '[]',
'options' => base64_encode(serialize($options)),
'created_at' => now(),
'created_at' => null,
'cancelled_at' => null,
'finished_at' => null,
]);

$batch = (new DatabaseBatchRepository($factory, $connection, 'job_batches'));

$factory->shouldReceive('make')
->withSomeOfArgs($batch, '', '', '', '', '', '', [1, 2]);
->withSomeOfArgs($batch, '', '', '', '', '', '', $options);

$batch->find(1);
}
Expand Down

0 comments on commit c3ec768

Please sign in to comment.