We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05f9df7 + 103af2e commit 9174aa6Copy full SHA for 9174aa6
dev/tests/api-functional/framework/Magento/TestFramework/TestCase/GraphQlAbstract.php
@@ -92,9 +92,10 @@ private function getAppCache()
92
private function getGraphQlClient()
93
{
94
if ($this->graphQlClient === null) {
95
- return Bootstrap::getObjectManager()->get(\Magento\TestFramework\TestCase\GraphQl\Client::class);
96
- } else {
97
- $this->graphQlClient;
+ $this->graphQlClient = Bootstrap::getObjectManager()->get(
+ \Magento\TestFramework\TestCase\GraphQl\Client::class
+ );
98
}
99
+ return $this->graphQlClient;
100
101
0 commit comments