Skip to content

Commit 3fbdf1c

Browse files
ACPT-1634
Fixing interface in Collector used during ResetAfterRequestTest.php
1 parent 4f66c8f commit 3fbdf1c

File tree

1 file changed

+1
-1
lines changed
  • dev/tests/integration/testsuite/Magento/GraphQl/App/State

1 file changed

+1
-1
lines changed

dev/tests/integration/testsuite/Magento/GraphQl/App/State/Collector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ public function getPropertiesFromObject(
166166
if (array_key_exists($className, $skipList)) {
167167
return CollectedObject::getSkippedObject();
168168
}
169-
if ($this->objectManager instanceof ObjectManagerInterface) {
169+
if ($this->objectManager instanceof StateObjectManagerInterface) {
170170
$serviceName = array_search($object, $this->objectManager->getSharedInstances(), true);
171171
if ($serviceName && array_key_exists($serviceName, $skipList)) {
172172
return CollectedObject::getSkippedObject();

0 commit comments

Comments
 (0)