Skip to content
Permalink
Browse files

Flush the registry before generating fixtures.

On travis, there was a ParentCategoryThread instance in the registry
which was causing the test to fail. At least that's what I hope it was.
  • Loading branch information...
markstory committed Sep 2, 2014
1 parent a567437 commit 5e6925bfdf7efe44324de500e54163de3e914af7
Showing with 1 addition and 0 deletions.
  1. +1 −0 tests/TestCase/Shell/Task/TestTaskTest.php
@@ -233,6 +233,7 @@ public function testFixtureArrayGenerationFromModel() {
* @return void
*/
public function testFixtureArrayGenerationIgnoreSelfAssociation() {
TableRegistry::clear();
$subject = new CategoryThreadsTable();
$result = $this->Task->generateFixtureList($subject);
$expected = [

0 comments on commit 5e6925b

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