Skip to content

Commit

Permalink
API-functional tests improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
rogyar committed Sep 5, 2018
1 parent e0f4132 commit e9a06a6
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ class UrlRewritesTest extends GraphQlAbstract
*/
public function testProductWithNoCategoriesAssigned()
{

$productSku = 'virtual-product';
$query
= <<<QUERY
{
products (search:"Virtual Product") {
products (filter: {sku: {eq: "{$productSku}"}}) {
items {
name,
sku,
Expand Down Expand Up @@ -79,11 +79,11 @@ public function testProductWithNoCategoriesAssigned()
*/
public function testProductWithOneCategoryAssigned()
{

$productSku = 'simple';
$query
= <<<QUERY
{
products (search:"Simple Product") {
products (filter: {sku: {eq: "{$productSku}"}}) {
items {
name,
sku,
Expand Down

0 comments on commit e9a06a6

Please sign in to comment.