Skip to content

Commit

Permalink
Fix failure caused by extra plugin classes being added.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Aug 6, 2014
1 parent afc5915 commit 14d4e05
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/TestCase/Console/Command/Task/TestTaskTest.php
Expand Up @@ -181,10 +181,13 @@ public function testOutputClassOptionsForTablePlugin() {
->with($this->stringContains('You must provide'));
$this->io->expects($this->at(1))
->method('out')
->with($this->stringContains('1. CommentsTable'));
->with($this->stringContains('1. AuthorsTable'));
$this->io->expects($this->at(2))
->method('out')
->with($this->stringContains('2. TestPluginCommentsTable'));
->with($this->stringContains('2. CommentsTable'));
$this->io->expects($this->at(3))
->method('out')
->with($this->stringContains('3. TestPluginCommentsTable'));

$this->Task->outputClassChoices('Table');
}
Expand Down

0 comments on commit 14d4e05

Please sign in to comment.