Skip to content

Commit

Permalink
GraphQL-127: Fixed return value for getGraphQlClient in API-functiona…
Browse files Browse the repository at this point in the history
…l tests

-- Fix static tests
  • Loading branch information
Valeriy Nayda committed Aug 13, 2018
1 parent adbf647 commit d2ad2b9
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,10 @@ private function getAppCache()
private function getGraphQlClient()
{
if ($this->graphQlClient === null) {
$this->graphQlClient = Bootstrap::getObjectManager()->get(\Magento\TestFramework\TestCase\GraphQl\Client::class);
$this->graphQlClient = Bootstrap::getObjectManager()->get(
\Magento\TestFramework\TestCase\GraphQl\Client::class
);
}

return $this->graphQlClient;
}
}

0 comments on commit d2ad2b9

Please sign in to comment.