Skip to content

Commit b6ca2f3

Browse files
committed
MAGETWO-87264: Finalizing - refactoring code for Pr
1 parent b2f3476 commit b6ca2f3

File tree

5 files changed

+2
-17
lines changed

5 files changed

+2
-17
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/ProductSearchTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,6 @@ public function testFilterProductsInNextPageSortedByNameASC()
429429
page_size
430430
current_page
431431
}
432-
433432
}
434433
}
435434
QUERY;
@@ -632,7 +631,6 @@ public function testQueryPageOutOfBoundException()
632631
page_size
633632
current_page
634633
}
635-
636634
}
637635
}
638636
QUERY;
@@ -665,10 +663,8 @@ public function testQueryWithNoSearchOrFilterArgumentException()
665663
weight
666664
}
667665
category_ids
668-
669666
}
670667
}
671-
672668
}
673669
QUERY;
674670

dev/tests/api-functional/testsuite/Magento/GraphQl/Catalog/VirtualProductViewTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public function testQueryAllFieldsVirtualProduct()
4848
}
4949
}
5050
}
51-
5251
}
5352
QUERY;
5453

@@ -132,7 +131,6 @@ private function assertBaseFields($product, $actualResponse)
132131
$this->assertResponseFields($actualResponse, $assertionMap);
133132
}
134133

135-
136134
/**
137135
* @param array $actualResponse
138136
* @param array $assertionMap ['response_field_name' => 'response_field_value', ...]

dev/tests/api-functional/testsuite/Magento/GraphQl/ConfigurableProduct/ConfigurableProductViewTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,6 @@ public function testQueryConfigurableProductLinks()
170170
}
171171
}
172172
}
173-
174173
}
175174
QUERY;
176175

dev/tests/api-functional/testsuite/Magento/GraphQl/DownloadableProduct/DownloadableProductViewTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,9 @@ public function testQueryAllFieldsDownloadableProducts()
7171
sample_type
7272
sample_file
7373
}
74-
7574
}
7675
}
7776
}
78-
7977
}
8078
QUERY;
8179
$response = $this->graphQlQuery($query);

dev/tests/api-functional/testsuite/Magento/GraphQl/UrlRewrite/UrlResolverTest.php

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ public function testProductUrlResolver()
6363
canonical_url
6464
type
6565
}
66-
6766
}
6867
QUERY;
6968
$response = $this->graphQlQuery($query);
@@ -108,7 +107,6 @@ public function testProductUrlWithCanonicalUrlInput()
108107
canonical_url
109108
type
110109
}
111-
112110
}
113111
QUERY;
114112
$response = $this->graphQlQuery($query);
@@ -151,8 +149,7 @@ public function testCategoryUrlResolver()
151149
id
152150
canonical_url
153151
type
154-
}
155-
152+
}
156153
}
157154
QUERY;
158155
$response = $this->graphQlQuery($query);
@@ -189,7 +186,6 @@ public function testCMSPageUrlResolver()
189186
canonical_url
190187
type
191188
}
192-
193189
}
194190
QUERY;
195191
$response = $this->graphQlQuery($query);
@@ -232,8 +228,7 @@ public function testProductUrlRewriteResolver()
232228
id
233229
canonical_url
234230
type
235-
}
236-
231+
}
237232
}
238233
QUERY;
239234
$response = $this->graphQlQuery($query);
@@ -274,7 +269,6 @@ public function testInvalidUrlResolverInput()
274269
canonical_url
275270
type
276271
}
277-
278272
}
279273
QUERY;
280274
$response = $this->graphQlQuery($query);

0 commit comments

Comments
 (0)