Fix PHPUnit 6 & Codeception\Verify incompatibilities
[MAILPOET-2582]
This commit is contained in:
committed by
Jack Kitterhing
parent
aa05ae4132
commit
835d8bc0af
@ -7,7 +7,7 @@ if (!function_exists('__')) {
|
||||
}
|
||||
|
||||
// Fix for mocking WPFunctions
|
||||
// [PHPUnit_Framework_Exception] Use of undefined constant OBJECT - assumed 'OBJECT' (this will throw an Error in a future version of PHP)
|
||||
// [PHPUnit\Framework\Exception] Use of undefined constant OBJECT - assumed 'OBJECT' (this will throw an Error in a future version of PHP)
|
||||
if (!defined('OBJECT')) {
|
||||
define( 'OBJECT', 'OBJECT' );
|
||||
}
|
||||
|
Reference in New Issue
Block a user