Skip to content

Commit

Permalink
The TableRegistry should be cleared to prevent conflicts with
Browse files Browse the repository at this point in the history
the rest of the tests suite
  • Loading branch information
HavokInspiration committed Jun 17, 2015
1 parent 2766002 commit afccef8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/TestCase/Database/Schema/TableTest.php
Expand Up @@ -25,7 +25,13 @@
class TableTest extends TestCase
{

public $fixtures = ['core.articles_tags', 'core.products', 'core.orders'];
public $fixtures = ['core.articles_tags', 'core.products', 'core.orders', 'core.tags'];

public function tearDown()
{
TableRegistry::clear();
parent::tearDown();
}

/**
* Test construction with columns
Expand Down

0 comments on commit afccef8

Please sign in to comment.