Fix: Update test workflow for PHP 7.0 compatibility
This commit is contained in:
1 parent
3c1db9d4fb
commit
1cf46254b7
6 files changed
+42
-20
No files matched your search
+1
-3
@@ -8,9 +8,7 @@
|
||||
// First, we need to load the composer autoloader so we can use WP Mock.
|
||||
require_once dirname(__DIR__) . '/vendor/autoload.php';
|
||||
|
||||
// Import WP_Mock class
|
||||
use WP_Mock\Tools\TestCase;
|
||||
use WP_Mock;
|
||||
// No need to import WP_Mock classes here
|
||||
|
||||
// Now call the bootstrap method of WP Mock.
|
||||
WP_Mock::bootstrap();
|
||||
|
||||
Reference in new issue
Block a user