diff --git a/tests/tests/connectors/test-class-connector-posts.php b/tests/tests/connectors/test-class-connector-posts.php index 149637e3..e20ea4ce 100644 --- a/tests/tests/connectors/test-class-connector-posts.php +++ b/tests/tests/connectors/test-class-connector-posts.php @@ -35,7 +35,7 @@ public function setUp() { // Make partial of Connector_Posts class, with mocked "log" function. $this->mock = $this->getMockBuilder( Connector_Posts::class ) - ->setMethods( [ 'log' ] ) + ->setMethods( array( 'log' ) ) ->getMock(); // Register connector. @@ -334,7 +334,7 @@ function( $subject ) { $this->greaterThan( 0 ), $this->equalTo( 'post' ), $this->equalTo( 'created' ), - ), + ) ); // Create post/update post status trigger callbacks.