diff --git a/tests/AllTests.php b/tests/AllTests.php index eba623745..e243bfb4d 100644 --- a/tests/AllTests.php +++ b/tests/AllTests.php @@ -8,7 +8,6 @@ require_once 'lib/DoctrineTestInit.php'; // Suites require_once 'Dbal/AllTests.php'; require_once 'Orm/AllTests.php'; -require_once 'Ticket/AllTests.php'; class AllTests { @@ -23,7 +22,6 @@ class AllTests $suite->addTest(Dbal_AllTests::suite()); $suite->addTest(Orm_AllTests::suite()); - $suite->addTest(Ticket_AllTests::suite()); return $suite; } diff --git a/tests/Dbal/AllTests.php b/tests/Dbal/AllTests.php index 307d86ebf..4c50cb84d 100644 --- a/tests/Dbal/AllTests.php +++ b/tests/Dbal/AllTests.php @@ -7,6 +7,7 @@ require_once 'lib/DoctrineTestInit.php'; // Suites require_once 'Dbal/Component/AllTests.php'; +require_once 'Dbal/Ticket/AllTests.php'; class Dbal_AllTests { @@ -20,6 +21,7 @@ class Dbal_AllTests $suite = new Doctrine_DbalTestSuite('Doctrine Dbal'); $suite->addTest(Dbal_Component_AllTests::suite()); + $suite->addTest(Dbal_Ticket_AllTests::suite()); return $suite; } diff --git a/tests/Dbal/Ticket/1Test.php b/tests/Dbal/Ticket/1Test.php new file mode 100644 index 000000000..6d2539d97 --- /dev/null +++ b/tests/Dbal/Ticket/1Test.php @@ -0,0 +1,10 @@ +assertEquals(0, 0); + } +} \ No newline at end of file diff --git a/tests/Dbal/Ticket/AllTests.php b/tests/Dbal/Ticket/AllTests.php new file mode 100644 index 000000000..2a4a362be --- /dev/null +++ b/tests/Dbal/Ticket/AllTests.php @@ -0,0 +1,30 @@ +addTestSuite('Dbal_Ticket_1Test'); + + return $suite; + } +} + +if (PHPUnit_MAIN_METHOD == 'Ticket_AllTests::main') { + Ticket_AllTests::main(); +} \ No newline at end of file diff --git a/tests/Orm/AllTests.php b/tests/Orm/AllTests.php index 25ae73573..69ddb93e6 100644 --- a/tests/Orm/AllTests.php +++ b/tests/Orm/AllTests.php @@ -7,6 +7,7 @@ require_once 'lib/DoctrineTestInit.php'; // Suites require_once 'Orm/Component/AllTests.php'; +require_once 'Orm/Ticket/AllTests.php'; class Orm_AllTests { @@ -20,6 +21,7 @@ class Orm_AllTests $suite = new Doctrine_OrmTestSuite('Doctrine Orm'); $suite->addTest(Orm_Component_AllTests::suite()); + $suite->addTest(Orm_Ticket_AllTests::suite()); return $suite; } diff --git a/tests/Ticket/1Test.php b/tests/Orm/Ticket/1Test.php similarity index 71% rename from tests/Ticket/1Test.php rename to tests/Orm/Ticket/1Test.php index 16a7f9e69..ed5fe3c2b 100644 --- a/tests/Ticket/1Test.php +++ b/tests/Orm/Ticket/1Test.php @@ -1,7 +1,7 @@ addTestSuite('Ticket_1Test'); + $suite->addTestSuite('Orm_Ticket_1Test'); return $suite; }