File tree 2 files changed +47
-1
lines changed
2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ before_script:
111
111
}" > app/Config/database.php
112
112
113
113
script :
114
- - sh -c "if [ '$PHPCS' = '1' ]; then phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; elif [ '$DB' = 'mysql' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else ./lib/Cake/Console/cake test core AllDatabase --stderr; fi"
114
+ - sh -c "if [ '$PHPCS' = '1' ]; then phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; elif [ '$DB' = 'mysql' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else ./lib/Cake/Console/cake test core AllDbRelated --stderr; fi"
115
115
116
116
notifications :
117
117
email : false
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * AllDbRelatedTest file
4
+ *
5
+ * PHP 5
6
+ *
7
+ * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
8
+ * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
9
+ *
10
+ * Licensed under The MIT License
11
+ * For full copyright and license information, please see the LICENSE.txt
12
+ * Redistributions of files must retain the above copyright notice.
13
+ *
14
+ * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
15
+ * @link http://cakephp.org CakePHP(tm) Project
16
+ * @package Cake.Test.Case
17
+ * @since CakePHP(tm) v 2.3
18
+ * @license http://www.opensource.org/licenses/mit-license.php MIT License
19
+ */
20
+
21
+ /**
22
+ * AllDbRelatedTest class
23
+ *
24
+ * This test group will run db related tests.
25
+ *
26
+ * @package Cake.Test.Case
27
+ */
28
+ class AllDbRelatedTest extends PHPUnit_Framework_TestSuite {
29
+
30
+ /**
31
+ * Suite define the tests for this suite
32
+ *
33
+ * @return void
34
+ */
35
+ public static function suite () {
36
+ $ suite = new PHPUnit_Framework_TestSuite ('All Db Related Tests ' );
37
+
38
+ $ path = CORE_TEST_CASES . DS ;
39
+
40
+ $ suite ->addTestFile ($ path . 'AllBehaviorsTest.php ' );
41
+ $ suite ->addTestFile ($ path . 'Controller ' . DS . 'Component ' . DS . 'PaginatorComponentTest.php ' );
42
+ $ suite ->addTestFile ($ path . 'AllDatabaseTest.php ' );
43
+ $ suite ->addTestFile ($ path . 'Model ' . DS . 'ModelTest.php ' );
44
+ return $ suite ;
45
+ }
46
+ }
You can’t perform that action at this time.
0 commit comments