Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.2.0
-
Fix Version/s: 4.2.0
-
Component/s: None
-
Labels:None
Description
R39749 stops tests from running through
reverting trunk\tests\phpunit\CiviTest\CiviUnitTestCase.php to R39561 fixes
Fatal error: Cannot make static method PHPUnit_Framework_Assert::assertType() non static in class CiviUnitTestCase in C:\utils\apps\civicrm\trunk\tests\phpunit\CiviTest\CiviUnitTestCase.php on line 55
Call Stack:
0.0013 347968 1.
() c:\utils\apps\civicrm\trunk\tests\bin\api3.php:0
0.2760 5580184 2. PHPUnit_TextUI_Command->run() c:\utils\apps\civicrm\trunk\tests\bin\api3.php:85
0.2785 5583136 3. PHPUnit_Runner_BaseTestRunner->getTest() C:\utils\apps\civicrm\trunk\tools\packages\PHPUnit\TextUI\Command.php:214
0.2922 5683904 4. ReflectionMethod->invoke() C:\utils\apps\civicrm\trunk\tools\packages\PHPUnit\Runner\BaseTestRunner.php:134
0.2922 5683920 5. api_v3_AllTests::suite() C:\utils\apps\civicrm\trunk\tests\phpunit\api\v3\AllTests.php:0
0.2931 5685112 6. CiviTestSuite->implSuite() C:\utils\apps\civicrm\trunk\tests\phpunit\api\v3\AllTests.php:68
0.2932 5686696 7. CiviTestSuite->addAllTests() C:\utils\apps\civicrm\trunk\tests\phpunit\CiviTest\CiviTestSuite.php:93
1.0851 6160232 8. require_once('C:\utils\apps\civicrm\trunk\tests\phpunit\api\v3\ActivityTest.php') C:\utils\apps\civicrm\trunk\tests\phpunit\CiviTest\CiviTestSuite.php:167
1.0971 6721704 9. require_once('C:\utils\apps\civicrm\trunk\tests\phpunit\CiviTest\CiviUnitTestCase.php') C:\utils\apps\civicrm\trunk\tests\phpunit\api\v3\ActivityTest.php:36