Skip to content
This repository was archived by the owner on Dec 19, 2019. It is now read-only.

Commit 1063ff9

Browse files
author
Vitaliy Boyko
committed
graphQl-167: added config fixture
1 parent 9fc45f6 commit 1063ff9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/SendFriend/SendFriendTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ public function testErrors(string $input, string $errorMessage)
218218
}
219219

220220
/**
221+
* @magentoApiConfigFixture default/sendfriend/email/allow_guest 0
222+
* @magentoApiConfigFixture default/sendfriend/email/enabled 1
221223
* @magentoApiDataFixture Magento/Catalog/_files/product_simple.php
222224
*/
223225
public function testLimitMessagesPerHour()

dev/tests/integration/testsuite/Magento/SendFriend/Controller/SendmailTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ class SendmailTest extends AbstractController
2626
*
2727
* @magentoDbIsolation enabled
2828
* @magentoAppIsolation enabled
29-
* @magentoDataFixture Magento/SendFriend/_files/disable_allow_guest_config.php
29+
* @magentoConfigFixture default/sendfriend/email/allow_guest 0
30+
* @magentoConfigFixture default/sendfriend/email/enabled 1
3031
* @magentoDataFixture Magento/Customer/_files/customer.php
3132
* @magentoDataFixture Magento/Catalog/_files/products.php
3233
*/

0 commit comments

Comments
 (0)