Skip to content

Commit

Permalink
Update conversion event providers prefix in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
benbowler committed Jul 4, 2024
1 parent fe19720 commit d114b5f
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function test_get_event_names() {
}

public function test_register_script() {
$handle = 'gsk-cep-' . Contact_Form_7::CONVERSION_EVENT_PROVIDER_SLUG;
$handle = 'googlesitekit-events-provider-' . Contact_Form_7::CONVERSION_EVENT_PROVIDER_SLUG;
$this->assertFalse( wp_script_is( $handle, 'registered' ) );

$script = $this->contactform->register_script();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function test_get_event_names() {
}

public function test_register_script() {
$handle = 'gsk-cep-' . Easy_Digital_Downloads::CONVERSION_EVENT_PROVIDER_SLUG;
$handle = 'googlesitekit-events-provider-' . Easy_Digital_Downloads::CONVERSION_EVENT_PROVIDER_SLUG;
$this->assertFalse( wp_script_is( $handle, 'registered' ) );

$script = $this->contactform->register_script();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function test_get_event_names() {
}

public function test_register_script() {
$handle = 'gsk-cep-' . Mailchimp::CONVERSION_EVENT_PROVIDER_SLUG;
$handle = 'googlesitekit-events-provider-' . Mailchimp::CONVERSION_EVENT_PROVIDER_SLUG;
$this->assertFalse( wp_script_is( $handle, 'registered' ) );

$script = $this->mailchimp->register_script();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function test_get_event_names() {
}

public function test_register_script() {
$handle = 'gsk-cep-' . Ninja_Forms::CONVERSION_EVENT_PROVIDER_SLUG;
$handle = 'googlesitekit-events-provider-' . Ninja_Forms::CONVERSION_EVENT_PROVIDER_SLUG;
$this->assertFalse( wp_script_is( $handle, 'registered' ) );

$script = $this->ninjaform->register_script();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function test_get_event_names() {
}

public function test_register_script() {
$handle = 'gsk-cep-' . OptinMonster::CONVERSION_EVENT_PROVIDER_SLUG;
$handle = 'googlesitekit-events-provider-' . OptinMonster::CONVERSION_EVENT_PROVIDER_SLUG;
$this->assertFalse( wp_script_is( $handle, 'registered' ) );

$script = $this->optinmonster->register_script();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function test_get_event_names() {
}

public function test_register_script() {
$handle = 'gsk-cep-' . PopupMaker::CONVERSION_EVENT_PROVIDER_SLUG;
$handle = 'googlesitekit-events-provider-' . PopupMaker::CONVERSION_EVENT_PROVIDER_SLUG;
$this->assertFalse( wp_script_is( $handle, 'registered' ) );

$script = $this->popupmaker->register_script();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function test_get_event_names() {
}

public function test_register_script() {
$handle = 'gsk-cep-' . WPForms::CONVERSION_EVENT_PROVIDER_SLUG;
$handle = 'googlesitekit-events-provider-' . WPForms::CONVERSION_EVENT_PROVIDER_SLUG;
$this->assertFalse( wp_script_is( $handle, 'registered' ) );

$script = $this->wpforms->register_script();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public function test_get_event_names() {
}

public function test_register_script() {
$handle = 'gsk-cep-' . WooCommerce::CONVERSION_EVENT_PROVIDER_SLUG;
$handle = 'googlesitekit-events-provider-' . WooCommerce::CONVERSION_EVENT_PROVIDER_SLUG;
$this->assertFalse( wp_script_is( $handle, 'registered' ) );

$script = $this->woocommerce->register_script();
Expand Down

0 comments on commit d114b5f

Please sign in to comment.