Skip to content

Commit

Permalink
Remove redundant mock
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikola Pavlovic committed Dec 11, 2024
1 parent 5457035 commit 694d482
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions __tests__/integration/FacebookWordpressWPFormsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,15 +150,6 @@ public function testTrackEventWithoutInternalUser() {
)
);

\WP_Mock::expectActionAdded(
'wp_footer',
array(
FacebookWordpressWPForms::class,
'injectLeadEvent',
),
20
);

FacebookWordpressWPForms::trackEvent(
$mock_entry,
$mock_form_data
Expand Down

0 comments on commit 694d482

Please sign in to comment.