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
@@ -18,8 +18,8 @@ class HttpTest extends LapsTestCase {
|
||||
$url = 'https://example.com/';
|
||||
$collector = new Http_Collector( $stopwatch );
|
||||
|
||||
$this->assertTrue( has_action( 'pre_http_request', [ $collector, 'pre_http_request' ] ) );
|
||||
$this->assertTrue( has_action( 'http_api_debug', [ $collector, 'http_api_debug' ] ) );
|
||||
$this->assertTrue( (bool) has_action( 'pre_http_request', [ $collector, 'pre_http_request' ] ) );
|
||||
$this->assertTrue( (bool) has_action( 'http_api_debug', [ $collector, 'http_api_debug' ] ) );
|
||||
|
||||
$collector->pre_http_request( false, [], $url );
|
||||
|
||||
|
||||
Reference in new issue
Block a user