Skip to content

Commit 0fe7897

Browse files
ACPT-1186
Adding more to skip list Moved some code to other repos
1 parent 06e994b commit 0fe7897

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/App/GraphQlStateTest.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ protected function setUp(): void
6262
$this->objectManagerForTest->getFactory()->setObjectManager($this->objectManagerForTest);
6363
AppObjectManager::setInstance($this->objectManagerForTest);
6464
Bootstrap::setObjectManager($this->objectManagerForTest);
65-
$application = Bootstrap::getInstance()->getBootstrap()->getApplication();
66-
$application->reinitialize();
67-
$application->loadArea('graphql');
6865
$this->comparator = $this->objectManagerForTest->create(Comparator::class);
6966
$this->requestFactory = $this->objectManagerForTest->get(RequestFactory::class);
7067
$this->objectManagerForTest->resetStateSharedInstances();
@@ -117,9 +114,7 @@ public function testCustomerState(
117114

118115
/**
119116
* Runs various GraphQL queries and checks if state of shared objects in Object Manager have changed
120-
* @magentoConfigFixture base_website btob/website_configuration/company_active 1
121-
* @magentoConfigFixture default_store btob/website_configuration/company_active 1
122-
* @magentoConfigFixture default_store company/general/allow_company_registration 1
117+
*
123118
* @dataProvider queryDataProvider
124119
* @param string $query
125120
* @param array $variables
@@ -456,6 +451,7 @@ public function queryDataProvider(): array
456451
],
457452
];
458453
}
454+
459455
/**
460456
* Queries, variables, operation names, and expected responses for test
461457
*

dev/tests/integration/testsuite/Magento/GraphQl/_files/state-filter-list.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,5 +185,14 @@
185185
Magento\Theme\Model\ResourceModel\Theme\Collection\Interceptor::class => [
186186
'_itemObjectClass' => null, // FIXME: this looks like it needs to be fixed
187187
],
188+
Magento\Customer\Model\Metadata\AttributeMetadataCache::class => [
189+
'isAttributeCacheEnabled' => null, // If cache configuration only changes during deployment, this is okay
190+
],
191+
Magento\Eav\Model\ResourceModel\Entity\Attribute\Set::class => [
192+
'serializer' => null, // Note: Should use DI instead, but this isn't a big deal
193+
],
194+
Magento\Framework\Escaper::class => [
195+
'escaper' => null, // Note: just lazy loading without a Proxy. Should use DI instead, but not big deal
196+
],
188197
],
189198
];

0 commit comments

Comments
 (0)