Skip to content

Commit

Permalink
Revert "[8.x] Clean up custom Queue payload between tests (#36271)" (#…
Browse files Browse the repository at this point in the history
…36287)

This reverts commit ac219bf.
  • Loading branch information
taylorotwell authored Feb 16, 2021
1 parent c0e0780 commit e23253c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 64 deletions.
2 changes: 1 addition & 1 deletion src/Illuminate/Queue/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ protected function createStringPayload($job, $queue, $data)
/**
* Register a callback to be executed when creating job payloads.
*
* @param callable|null $callback
* @param callable $callback
* @return void
*/
public static function createPayloadUsing($callback)
Expand Down
2 changes: 0 additions & 2 deletions src/Illuminate/Queue/QueueServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ class QueueServiceProvider extends ServiceProvider implements DeferrableProvider
*/
public function register()
{
Queue::createPayloadUsing(null);

$this->registerManager();
$this->registerConnection();
$this->registerWorker();
Expand Down
61 changes: 0 additions & 61 deletions tests/Integration/Queue/CustomPayloadTest.php

This file was deleted.

0 comments on commit e23253c

Please sign in to comment.