mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-01 01:26:19 +00:00
Merge pull request #2655 from mouyang/2.5-app-AllTests
add AllTestsTest for skeleton app
This commit is contained in:
commit
64e18558dd
1 changed files with 26 additions and 0 deletions
26
lib/Cake/Console/Templates/skel/Test/Case/AllTestsTest.php
Normal file
26
lib/Cake/Console/Templates/skel/Test/Case/AllTestsTest.php
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* AllTests file
|
||||||
|
*
|
||||||
|
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
|
||||||
|
* Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||||
|
*
|
||||||
|
* Licensed under The MIT License
|
||||||
|
* For full copyright and license information, please see the LICENSE.txt
|
||||||
|
* Redistributions of files must retain the above copyright notice.
|
||||||
|
*
|
||||||
|
* @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
|
||||||
|
* @link http://cakephp.org CakePHP(tm) Project
|
||||||
|
* @package app.Test.Case
|
||||||
|
* @since CakePHP(tm) v 2.5
|
||||||
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
|
*/
|
||||||
|
|
||||||
|
class AllTestsTest extends CakeTestSuite {
|
||||||
|
|
||||||
|
public static function suite() {
|
||||||
|
$suite = new CakeTestSuite('All application tests');
|
||||||
|
$suite->addTestDirectoryRecursive(TESTS . 'Case');
|
||||||
|
return $suite;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue