Permalink
Browse files

Reverting some changes made to the phpunite.dist.xml file in order to

make sure that test permutations run correctly. Also fixed the original
cause why the change happened in the first place
  • Loading branch information...
1 parent 4c24185 commit c4b92358839b152f5d2912d1fad11e70a73e880e @lorenzo lorenzo committed Jan 20, 2014
Showing with 5 additions and 0 deletions.
  1. +4 −0 phpunit.xml.dist
  2. +1 −0 tests/TestCase/DatabaseSuite.php
View
@@ -15,6 +15,10 @@
<testsuites>
<testsuite name="CakePHP Test Suite">
<directory>./tests/TestCase/</directory>
+ <!-- Excludes are required in order to let DabaseSuite decorate the tests -->
+ <exclude>./tests/TestCase/Model/</exclude>
+ <exclude>./tests/TestCase/Database/</exclude>
+ <exclude>./tests/TestCase/ORM/</exclude>
</testsuite>
<testsuite name="Database Test Suite">
<file>./tests/TestCase/DatabaseSuite.php</file>
@@ -36,6 +36,7 @@ public static function suite() {
$suite = new TestSuite('Database related tests');
$suite->addTestDirectoryRecursive(__DIR__ . DS . 'Database');
$suite->addTestDirectoryRecursive(__DIR__ . DS . 'ORM');
+ $suite->addTestDirectoryRecursive(__DIR__ . DS . 'Model');
$permutations = [
'Identifier Quoting' => function() {

0 comments on commit c4b9235

Please sign in to comment.