@@ -189,7 +189,7 @@ public function testErrors(string $input, string $errorMessage)
189
189
sendEmailToFriend(
190
190
input: {
191
191
$ input
192
- }
192
+ }
193
193
) {
194
194
sender {
195
195
name
@@ -211,7 +211,6 @@ public function testErrors(string $input, string $errorMessage)
211
211
/**
212
212
* @magentoApiDataFixture Magento/Customer/_files/customer.php
213
213
* @magentoApiDataFixture Magento/GraphQl/Catalog/_files/simple_product.php
214
- * @magentoConfigFixture default_store sendfriend/email/enabled 1
215
214
* @magentoConfigFixture default_store sendfriend/email/max_per_hour 1
216
215
* @magentoApiDataFixture Magento/SendFriend/Fixtures/sendfriend_configuration.php
217
216
*/
@@ -284,12 +283,12 @@ public function sendFriendsErrorsDataProvider()
284
283
{
285
284
return [
286
285
[
287
- 'product_id: 1
286
+ 'product_id: 1
288
287
sender: {
289
288
name: "Name"
290
289
email: "e@mail.com"
291
290
message: "Lorem Ipsum"
292
- }
291
+ }
293
292
recipients: [
294
293
{
295
294
name: ""
@@ -302,12 +301,12 @@ public function sendFriendsErrorsDataProvider()
302
301
] ' , 'Please provide Name for all of recipients. '
303
302
],
304
303
[
305
- 'product_id: 1
304
+ 'product_id: 1
306
305
sender: {
307
306
name: "Name"
308
307
email: "e@mail.com"
309
308
message: "Lorem Ipsum"
310
- }
309
+ }
311
310
recipients: [
312
311
{
313
312
name: "Recipient Name 1"
@@ -320,12 +319,12 @@ public function sendFriendsErrorsDataProvider()
320
319
] ' , 'Please provide Email for all of recipients. '
321
320
],
322
321
[
323
- 'product_id: 1
322
+ 'product_id: 1
324
323
sender: {
325
324
name: ""
326
325
email: "e@mail.com"
327
326
message: "Lorem Ipsum"
328
- }
327
+ }
329
328
recipients: [
330
329
{
331
330
name: "Recipient Name 1"
@@ -338,12 +337,12 @@ public function sendFriendsErrorsDataProvider()
338
337
] ' , 'Please provide Name of sender. '
339
338
],
340
339
[
341
- 'product_id: 1
340
+ 'product_id: 1
342
341
sender: {
343
342
name: "Name"
344
343
email: "e@mail.com"
345
344
message: ""
346
- }
345
+ }
347
346
recipients: [
348
347
{
349
348
name: "Recipient Name 1"
@@ -405,9 +404,9 @@ private function getQuery(int $productId, string $recipients): string
405
404
name: "Name"
406
405
email: "e@mail.com"
407
406
message: "Lorem Ipsum"
408
- }
407
+ }
409
408
recipients: [ {$ recipients }]
410
- }
409
+ }
411
410
) {
412
411
sender {
413
412
name
0 commit comments