Skip to content
This repository was archived by the owner on Oct 2, 2019. It is now read-only.

Commit b67c1eb

Browse files
committed
Adds missing main method in TestCase classes for Zend_Loader
1 parent ba7ffb1 commit b67c1eb

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

tests/Zend/Loader/AutoloaderFactoryTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@
4040
*/
4141
class Zend_Loader_AutoloaderFactoryTest extends PHPUnit_Framework_TestCase
4242
{
43+
public static function main()
44+
{
45+
$suite = new PHPUnit_Framework_TestSuite(__CLASS__);
46+
$result = PHPUnit_TextUI_TestRunner::run($suite);
47+
}
48+
4349
public function setUp()
4450
{
4551
// Store original autoloaders

tests/Zend/Loader/ClassMapAutoloaderTest.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
*/
3737
class Zend_Loader_ClassMapAutoloaderTest extends PHPUnit_Framework_TestCase
3838
{
39+
public static function main()
40+
{
41+
$suite = new PHPUnit_Framework_TestSuite(__CLASS__);
42+
$result = PHPUnit_TextUI_TestRunner::run($suite);
43+
}
44+
3945
public function setUp()
4046
{
4147
// Store original autoloaders

0 commit comments

Comments
 (0)