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

Commit

Permalink
Removed unused and commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
facundocapua committed May 23, 2018
1 parent 5f405b4 commit a9e5d85
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ private function assertBaseFields($product, $actualResponse)
['response_field' => 'sku', 'expected_value' => $product->getSku()],
['response_field' => 'type_id', 'expected_value' => $product->getTypeId()],
['response_field' => 'updated_at', 'expected_value' => $product->getUpdatedAt()],
// ['response_field' => 'weight', 'expected_value' => $product->getWeight()],
];

$this->assertResponseFields($actualResponse, $assertionMap);
Expand Down Expand Up @@ -405,13 +404,4 @@ private function assertResponseFields($actualResponse, $assertionMap)
);
}
}

private function eavAttributesToGraphQlSchemaFieldTranslator($attributeCode)
{
if (isset($this->eavAttributesToGraphQlSchemaFieldMap[$attributeCode])) {
return $this->eavAttributesToGraphQlSchemaFieldMap[$attributeCode];
}

return $attributeCode;
}
}

0 comments on commit a9e5d85

Please sign in to comment.