Skip to content

Commit

Permalink
Fix CS.
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Mar 19, 2019
1 parent 6636aee commit 4cd2274
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Model/Table/QueuedJobsTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
use Cake\ORM\Query;
use Cake\ORM\Table;
use Cake\ORM\TableRegistry;
use Exception;
use InvalidArgumentException;
use Queue\Model\Entity\QueuedJob;
use RecursiveDirectoryIterator;
Expand Down
4 changes: 2 additions & 2 deletions src/Shell/QueueShell.php
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ public function reset() {

$count = $this->QueuedJobs->reset();

$this->success($count . ' jobs reset for re-run.');
$this->success($count . ' jobs reset.');
}

/**
Expand All @@ -376,7 +376,7 @@ public function reset() {
* @return void
*/
public function rerun($type, $reference = null) {
$this->out('Re-reunning jobs');
$this->out('Rerunning...');

$count = $this->QueuedJobs->rerun($type, $reference);

Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Shell/QueueShellTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function testHardResetIntegration() {
public function testReset() {
$this->QueueShell->reset();

$this->assertContains('0 jobs reset for re-run.', $this->out->output(), print_r($this->out->output, true));
$this->assertContains('0 jobs reset.', $this->out->output(), print_r($this->out->output, true));
}

/**
Expand Down

0 comments on commit 4cd2274

Please sign in to comment.