Browse Source

Fix failure caused by extra plugin classes being added.

mark_story 11 years ago
parent
commit
14d4e05afc
1 changed files with 5 additions and 2 deletions
  1. 5 2
      tests/TestCase/Console/Command/Task/TestTaskTest.php

+ 5 - 2
tests/TestCase/Console/Command/Task/TestTaskTest.php

@@ -181,10 +181,13 @@ class TestTaskTest extends TestCase {
 			->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');
 	}