Skip to content

Commit d0529c9

Browse files
Pooja.ManralPooja.Manral
authored andcommitted
AC-11729::Magento_GraphQl execute headers processing even if the header value does not pass validation
1 parent 4d0ae3d commit d0529c9

File tree

1 file changed

+0
-12
lines changed
  • dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache

1 file changed

+0
-12
lines changed

dev/tests/api-functional/testsuite/Magento/GraphQl/GraphQlCache/GraphQlTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,23 @@
88
namespace Magento\GraphQl\GraphQlCache;
99

1010
use Magento\Customer\Test\Fixture\Customer;
11-
use Magento\Framework\App\RequestInterface;
1211
use Magento\Framework\Registry;
1312
use Magento\TestFramework\Fixture\DataFixture;
1413
use Magento\TestFramework\Fixture\DataFixtureStorageManager;
1514
use Magento\TestFramework\TestCase\GraphQlAbstract;
1615
use Magento\Framework\App\FrontControllerInterface;
1716
use Magento\Framework\App\Request\Http;
1817
use Magento\Framework\App\Response\Http as ResponseHttp;
19-
use Magento\Framework\GraphQl\Exception\GraphQlInputException;
2018
use Magento\GraphQl\Controller\HttpRequestProcessor;
2119
use Magento\GraphQlCache\Controller\Plugin\GraphQl;
2220
use Magento\GraphQlCache\Model\CacheableQuery;
2321
use Magento\GraphQlCache\Model\CacheId\CacheIdCalculator;
2422
use Magento\PageCache\Model\Config;
2523
use PHPUnit\Framework\MockObject\MockObject;
26-
use PHPUnit\Framework\TestCase;
2724
use Psr\Log\LoggerInterface;
2825

29-
3026
class 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

Comments
 (0)