From 694d482fe872392060de8eb3ab7c25bd143ba37b Mon Sep 17 00:00:00 2001 From: Nikola Pavlovic Date: Wed, 11 Dec 2024 16:25:35 +0100 Subject: [PATCH] Remove redundant mock --- __tests__/integration/FacebookWordpressWPFormsTest.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/__tests__/integration/FacebookWordpressWPFormsTest.php b/__tests__/integration/FacebookWordpressWPFormsTest.php index 4f719eb..ab0adf6 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