From d89e68fd2cc66c5665e90d210e3a0c3e9fb505c6 Mon Sep 17 00:00:00 2001 From: Veljko V Date: Thu, 27 Aug 2020 12:14:43 +0200 Subject: [PATCH] Add 2nd argument to existing private function --- tests/acceptance/SendCategoryPurchaseEmailCest.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/SendCategoryPurchaseEmailCest.php b/tests/acceptance/SendCategoryPurchaseEmailCest.php index 274bcb15f3..94241821c9 100644 --- a/tests/acceptance/SendCategoryPurchaseEmailCest.php +++ b/tests/acceptance/SendCategoryPurchaseEmailCest.php @@ -69,15 +69,14 @@ class SendCategoryPurchaseEmailCest { $userEmail = Security::generateRandomString() . '-user@email.example'; $i->orderProduct($product, $userEmail, true, false); - $this->verifyNoScheduledSending($i); + $this->verifyNoScheduledSending($i, $emailSubject); $i->amOnMailboxAppPage(); $i->dontSee($emailSubject); $i->dontSee($userEmail); } - private function verifyNoScheduledSending(\AcceptanceTester $i) { - $emailSubject = 'Product In Category Purchase Test'; + private function verifyNoScheduledSending(\AcceptanceTester $i, $emailSubject) { $i->login(); $i->amOnMailpoetPage('Help'); $i->click('System Status');