Skip to:

Opened 7 years ago

Last modified 7 years ago

#3084 new task (blessed)

PHPUnit 6 compatibility

Reported by: netweb's profile netweb Owned by: netweb's profile netweb
Milestone: Future Release Priority: high
Severity: normal Version:
Component: Tools - Build Keywords: needs-patch


Via #WP39822

PHPUnit no longer supports PHPUnit_Framework_TestCase as the base class.

$ phpunit 
Running as single site... To run multisite, use -c tests/phpunit/multisite.xml
PHP Fatal error:  Class 'PHPUnit_Framework_TestCase' not found in /Users/miyauchi/wp-core/trunk/tests/phpunit/includes/testcase.php on line 15

I wrote aliases for it.
It looks woking fine with phpunit 5.6 and phpunit 6.


Change History (1)

#1 @johnjamesjacoby
7 years ago

  • Milestone changed from Awaiting Review to Future Release
  • Owner set to netweb
  • Priority changed from normal to high
  • Type changed from defect to task
Note: See TracTickets for help on using tickets.