Skip to content

Commit 1b83e1a

Browse files
32435 Added parameterized fixture for customer
1 parent 1ced37f commit 1b83e1a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Sales/RetrieveOrdersByOrderNumberTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -415,12 +415,11 @@ public function testGetMatchingOrdersForLowerQueryLength()
415415
}
416416

417417
/**
418-
* @magentoApiDataFixture Magento/Customer/_files/customer.php
419418
* @return void
420419
* @throws AuthenticationException
421420
*/
422421
#[
423-
DataFixture(Customer::class, ['email' => 'customer@search.example.com'], 'customer'),
422+
DataFixture(Customer::class, ['email' => 'customer@example.com'], 'customer'),
424423
DataFixture(CustomerCart::class, ['customer_id' => '$customer.id$'], 'cart2'),
425424
DataFixture(ProductFixture::class, ['sku' => '100000002', 'price' => 10], 'p2'),
426425
DataFixture(AddProductToCartFixture::class, ['cart_id' => '$cart2.id$', 'product_id' => '$p2.id$']),
@@ -507,7 +506,7 @@ public function testGetCustomerDescendingSortedOrders()
507506
}
508507
QUERY;
509508

510-
$currentEmail = 'customer@search.example.com';
509+
$currentEmail = 'customer@example.com';
511510
$currentPassword = 'password';
512511
$response = $this->graphQlQuery(
513512
$query,

0 commit comments

Comments
 (0)