Skip to content

Commit f4cef90

Browse files
committed
Fix WebAPI Tests
1 parent fba0e19 commit f4cef90

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

dev/tests/integration/framework/Magento/TestFramework/Application.php

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -389,19 +389,6 @@ public function initialize($overriddenParams = [])
389389
);
390390
}
391391
$objectManager->configure($objectManagerConfiguration);
392-
/** Register event observer of Integration Framework */
393-
/** @var \Magento\Framework\Event\Config\Data $eventConfigData */
394-
$eventConfigData = $objectManager->get(\Magento\Framework\Event\Config\Data::class);
395-
$eventConfigData->merge(
396-
[
397-
'core_app_init_current_store_after' => [
398-
'integration_tests' => [
399-
'instance' => \Magento\TestFramework\Event\Magento::class,
400-
'name' => 'integration_tests'
401-
]
402-
]
403-
]
404-
);
405392

406393
if ($this->canLoadArea) {
407394
$this->loadArea(\Magento\TestFramework\Application::DEFAULT_APP_AREA);
@@ -558,7 +545,7 @@ private function copyAppConfigFiles()
558545
}
559546
}
560547
}
561-
548+
562549
/**
563550
* Copies global configuration file from the tests folder (see TESTS_GLOBAL_CONFIG_FILE)
564551
*

0 commit comments

Comments
 (0)