Skip to content

Commit a4da0fd

Browse files
committed
Removed some code from API-functional tests
1 parent f55229e commit a4da0fd

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/CustomerDownloadableProduct/CustomerDownloadableProductTest.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ public function testGetCustomerDownloadableProducts()
6060
$orders = $orderRepository->getList($searchCriteria)->getItems();
6161
$order = array_pop($orders);
6262

63-
$builder = $objectManager->create(\Magento\Framework\Api\FilterBuilder::class);
64-
$filter = $builder
65-
->setField('email')
66-
->setValue('customer@example.com');
67-
6863
$searchCriteria = $objectManager->get(
6964
SearchCriteriaBuilder::class
7065
)->addFilter(
@@ -78,7 +73,6 @@ public function testGetCustomerDownloadableProducts()
7873
$customer = array_pop($customers);
7974

8075
$order->setCustomerId($customer->getId())->setCustomerIsGuest(false)->save();
81-
8276
$response = $this->graphQlQuery($query, [], '', $this->headers);
8377

8478
$expectedResponse = [

0 commit comments

Comments
 (0)