File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
dev/tests/integration/testsuite/Magento/GraphQl/App/State Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1010use Magento \Customer \Api \AccountManagementInterface ;
1111use Magento \Customer \Model \AccountManagement ;
1212use Magento \Customer \Model \CustomerRegistry ;
13+ use Magento \Framework \App \Area ;
1314use Magento \Framework \App \Http as HttpApp ;
1415use Magento \Framework \App \ObjectManager as AppObjectManager ;
1516use Magento \Framework \App \RequestInterface ;
1617use Magento \Framework \App \Response \Http as HttpResponse ;
18+ use Magento \Framework \App \State ;
1719use Magento \Framework \Exception \LocalizedException ;
1820use Magento \Framework \Exception \NoSuchEntityException ;
1921use Magento \Framework \ObjectManagerInterface ;
@@ -66,6 +68,7 @@ public function __construct()
6668 AppObjectManager::setInstance ($ this ->objectManagerForTest );
6769 Bootstrap::setObjectManager ($ this ->objectManagerForTest );
6870 $ this ->comparator = $ this ->objectManagerForTest ->create (Comparator::class);
71+ $ this ->objectManagerForTest ->get (State::class)->setAreaCode (Area::AREA_GRAPHQL );
6972 $ this ->objectManagerForTest ->_resetState ();
7073 }
7174
You can’t perform that action at this time.
0 commit comments