Skip to content

Commit

Permalink
Update test-class-connector-media.php
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 authored Aug 7, 2020
1 parent 399fcb8 commit 0afda5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tests/connectors/test-class-connector-media.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ class Test_WP_Stream_Connector_Media extends WP_StreamTestCase {
*/
public function setUp() {
parent::setUp();

$this->plugin->connectors->unload_connectors();

// Make partial of Connector_Media class, with mocked "log" function.
$this->mock = $this->getMockBuilder( Connector_Media::class )
Expand Down

0 comments on commit 0afda5b

Please sign in to comment.