diff --git a/__tests__/integration/FacebookWordpressWPFormsTest.php b/__tests__/integration/FacebookWordpressWPFormsTest.php index 4f719eb1..ab0adf61 100644 --- a/__tests__/integration/FacebookWordpressWPFormsTest.php +++ b/__tests__/integration/FacebookWordpressWPFormsTest.php @@ -150,15 +150,6 @@ public function testTrackEventWithoutInternalUser() { ) ); - \WP_Mock::expectActionAdded( - 'wp_footer', - array( - FacebookWordpressWPForms::class, - 'injectLeadEvent', - ), - 20 - ); - FacebookWordpressWPForms::trackEvent( $mock_entry, $mock_form_data