88namespace Magento \GraphQl \GraphQlCache ;
99
1010use Magento \Customer \Test \Fixture \Customer ;
11- use Magento \Framework \App \RequestInterface ;
1211use Magento \Framework \Registry ;
1312use Magento \TestFramework \Fixture \DataFixture ;
1413use Magento \TestFramework \Fixture \DataFixtureStorageManager ;
1514use Magento \TestFramework \TestCase \GraphQlAbstract ;
1615use Magento \Framework \App \FrontControllerInterface ;
1716use Magento \Framework \App \Request \Http ;
1817use Magento \Framework \App \Response \Http as ResponseHttp ;
19- use Magento \Framework \GraphQl \Exception \GraphQlInputException ;
2018use Magento \GraphQl \Controller \HttpRequestProcessor ;
2119use Magento \GraphQlCache \Controller \Plugin \GraphQl ;
2220use Magento \GraphQlCache \Model \CacheableQuery ;
2321use Magento \GraphQlCache \Model \CacheId \CacheIdCalculator ;
2422use Magento \PageCache \Model \Config ;
2523use PHPUnit \Framework \MockObject \MockObject ;
26- use PHPUnit \Framework \TestCase ;
2724use Psr \Log \LoggerInterface ;
2825
29-
3026class GraphQlTest extends GraphQlAbstract
3127{
32-
3328 /**
3429 * @var GraphQl
3530 */
@@ -45,11 +40,6 @@ class GraphQlTest extends GraphQlAbstract
4540 */
4641 private $ configMock ;
4742
48- /**
49- * @var ResponseHttp|MockObject
50- */
51- private $ responseMock ;
52-
5343 /**
5444 * @var HttpRequestProcessor|MockObject
5545 */
@@ -163,6 +153,4 @@ public function testBeforeDispatchForException(): void
163153 ->method ('critical ' );
164154 $ this ->assertNull ($ this ->graphql ->beforeDispatch ($ this ->subjectMock , $ this ->requestMock ));
165155 }
166-
167-
168156}
0 commit comments