Skip to content

Commit

Permalink
Refactor set_up in test.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaemnnosttv committed May 31, 2024
1 parent 76dcb8c commit 65d4c8d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ class Conversion_TrackingTest extends TestCase {
public function set_up() {
parent::set_up();

$this->conversion_tracking = new Conversion_Tracking( new Context( GOOGLESITEKIT_PLUGIN_MAIN_FILE ), new Options( new Context( GOOGLESITEKIT_PLUGIN_MAIN_FILE ) ) );
$options = new Options( new Context( GOOGLESITEKIT_PLUGIN_MAIN_FILE ) );
$context = new Context( GOOGLESITEKIT_PLUGIN_MAIN_FILE );
$options = new Options( $context );
$this->conversion_tracking = new Conversion_Tracking( $context, $options );
$this->conversion_tracking_settings = new Conversion_Tracking_Settings( $options );

$original_conversion_tracking_settings = array(
Expand Down

0 comments on commit 65d4c8d

Please sign in to comment.