Skip to content

Commit

Permalink
Added callback methods to prevent exception due to changes on how cal…
Browse files Browse the repository at this point in the history
…lbacks are checked
  • Loading branch information
jamielsharief committed May 4, 2021
1 parent 8562df2 commit f5c5899
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/TestCase/Job/JobTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,23 @@ public function callbacks(string $callback)
{
return array_keys($this->registeredCallbacks($callback));
}

/**
* For callbacks
*
* @return void
*/
public function foo()
{
}
/**
* For callbacks
*
* @return void
*/
public function bar()
{
}
}
class PassOrFailRedis extends PassOrFailJob
{
Expand Down

0 comments on commit f5c5899

Please sign in to comment.