Adjusted tests for newer Brain Monkey compatibility
This commit is contained in:
1 parent
a815ba515c
commit
a797c4f406
6 files changed
+10
-10
No files matched your search
@@ -20,8 +20,8 @@ class AssetTest extends LapsTestCase {
|
||||
|
||||
$manager = new Asset_Manager();
|
||||
|
||||
$this->assertTrue( has_action( 'wp_enqueue_scripts', [ $manager, 'enqueue_scripts' ] ) );
|
||||
$this->assertTrue( has_action( 'admin_enqueue_scripts', [ $manager, 'enqueue_scripts' ] ) );
|
||||
$this->assertTrue( (bool) has_action( 'wp_enqueue_scripts', [ $manager, 'enqueue_scripts' ] ) );
|
||||
$this->assertTrue( (bool) has_action( 'admin_enqueue_scripts', [ $manager, 'enqueue_scripts' ] ) );
|
||||
|
||||
return $manager;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user