8
8
namespace Magento \GraphQl \GraphQlCache ;
9
9
10
10
use Magento \Customer \Test \Fixture \Customer ;
11
- use Magento \Framework \App \RequestInterface ;
12
11
use Magento \Framework \Registry ;
13
12
use Magento \TestFramework \Fixture \DataFixture ;
14
13
use Magento \TestFramework \Fixture \DataFixtureStorageManager ;
15
14
use Magento \TestFramework \TestCase \GraphQlAbstract ;
16
15
use Magento \Framework \App \FrontControllerInterface ;
17
16
use Magento \Framework \App \Request \Http ;
18
17
use Magento \Framework \App \Response \Http as ResponseHttp ;
19
- use Magento \Framework \GraphQl \Exception \GraphQlInputException ;
20
18
use Magento \GraphQl \Controller \HttpRequestProcessor ;
21
19
use Magento \GraphQlCache \Controller \Plugin \GraphQl ;
22
20
use Magento \GraphQlCache \Model \CacheableQuery ;
23
21
use Magento \GraphQlCache \Model \CacheId \CacheIdCalculator ;
24
22
use Magento \PageCache \Model \Config ;
25
23
use PHPUnit \Framework \MockObject \MockObject ;
26
- use PHPUnit \Framework \TestCase ;
27
24
use Psr \Log \LoggerInterface ;
28
25
29
-
30
26
class GraphQlTest extends GraphQlAbstract
31
27
{
32
-
33
28
/**
34
29
* @var GraphQl
35
30
*/
@@ -45,11 +40,6 @@ class GraphQlTest extends GraphQlAbstract
45
40
*/
46
41
private $ configMock ;
47
42
48
- /**
49
- * @var ResponseHttp|MockObject
50
- */
51
- private $ responseMock ;
52
-
53
43
/**
54
44
* @var HttpRequestProcessor|MockObject
55
45
*/
@@ -163,6 +153,4 @@ public function testBeforeDispatchForException(): void
163
153
->method ('critical ' );
164
154
$ this ->assertNull ($ this ->graphql ->beforeDispatch ($ this ->subjectMock , $ this ->requestMock ));
165
155
}
166
-
167
-
168
156
}
0 commit comments