Skip to content
Permalink
Browse files

The TableRegistry should be cleared to prevent conflicts with

the rest of the tests suite
  • Loading branch information...
HavokInspiration committed Jun 17, 2015
1 parent 2766002 commit afccef8deeb6eb8a9412663282185c36af188579
Showing with 7 additions and 1 deletion.
  1. +7 −1 tests/TestCase/Database/Schema/TableTest.php
@@ -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

0 comments on commit afccef8

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