Skip to content

Commit 77ec1ce

Browse files
author
Jaroslav Polakovič
authored
Merge pull request #1183 from xwp/bugfix/posts-connector-test
Syntax error in Posts connector test breaking Travis-CI fixed.
2 parents fdb8a06 + 6c1e7ea commit 77ec1ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/tests/connectors/test-class-connector-posts.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function setUp() {
3535

3636
// Make partial of Connector_Posts class, with mocked "log" function.
3737
$this->mock = $this->getMockBuilder( Connector_Posts::class )
38-
->setMethods( [ 'log' ] )
38+
->setMethods( array( 'log' ) )
3939
->getMock();
4040

4141
// Register connector.
@@ -334,7 +334,7 @@ function( $subject ) {
334334
$this->greaterThan( 0 ),
335335
$this->equalTo( 'post' ),
336336
$this->equalTo( 'created' ),
337-
),
337+
)
338338
);
339339

340340
// Create post/update post status trigger callbacks.

0 commit comments

Comments
 (0)