Skip to content
Permalink
Browse files

rename method

  • Loading branch information
taylorotwell committed Feb 3, 2020
1 parent 7bc73db commit 7fcc6b5feb004f57aa61a0fa93c340694ae6a980
@@ -95,13 +95,13 @@ public function assertPushedWithChain($job, $expectedChain = [], $callback = nul
}

/**
* Assert if a job was pushed with empty chain based on a truth-test callback.
* Assert if a job was pushed with an empty chain based on a truth-test callback.
*
* @param string $job
* @param callable|null $callback
* @return void
*/
public function assertPushedWithEmptyChain($job, $callback = null)
public function assertPushedWithoutChain($job, $callback = null)
{
PHPUnit::assertTrue(
$this->pushed($job, $callback)->isNotEmpty(),
@@ -138,11 +138,11 @@ public function testAssertPushedWithChainUsingClassesOrObjectsArray()
]);
}

public function testAssertPushedWithEmptyChain()
public function testAssertPushedWithoutChain()
{
$this->fake->push(new JobWithChainStub([]));

$this->fake->assertPushedWithEmptyChain(JobWithChainStub::class);
$this->fake->assertPushedWithoutChain(JobWithChainStub::class);
}

public function testAssertPushedWithChainSameJobDifferentChains()

0 comments on commit 7fcc6b5

Please sign in to comment.
You can’t perform that action at this time.