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

Commit a9e5d85

Browse files
committed
Removed unused and commented code
1 parent 5f405b4 commit a9e5d85

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

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

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,6 @@ private function assertBaseFields($product, $actualResponse)
327327
['response_field' => 'sku', 'expected_value' => $product->getSku()],
328328
['response_field' => 'type_id', 'expected_value' => $product->getTypeId()],
329329
['response_field' => 'updated_at', 'expected_value' => $product->getUpdatedAt()],
330-
// ['response_field' => 'weight', 'expected_value' => $product->getWeight()],
331330
];
332331

333332
$this->assertResponseFields($actualResponse, $assertionMap);
@@ -405,13 +404,4 @@ private function assertResponseFields($actualResponse, $assertionMap)
405404
);
406405
}
407406
}
408-
409-
private function eavAttributesToGraphQlSchemaFieldTranslator($attributeCode)
410-
{
411-
if (isset($this->eavAttributesToGraphQlSchemaFieldMap[$attributeCode])) {
412-
return $this->eavAttributesToGraphQlSchemaFieldMap[$attributeCode];
413-
}
414-
415-
return $attributeCode;
416-
}
417407
}

0 commit comments

Comments
 (0)