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 10
10
use Magento \Customer \Api \AccountManagementInterface ;
11
11
use Magento \Customer \Model \AccountManagement ;
12
12
use Magento \Customer \Model \CustomerRegistry ;
13
+ use Magento \Framework \App \Area ;
13
14
use Magento \Framework \App \Http as HttpApp ;
14
15
use Magento \Framework \App \ObjectManager as AppObjectManager ;
15
16
use Magento \Framework \App \RequestInterface ;
16
17
use Magento \Framework \App \Response \Http as HttpResponse ;
18
+ use Magento \Framework \App \State ;
17
19
use Magento \Framework \Exception \LocalizedException ;
18
20
use Magento \Framework \Exception \NoSuchEntityException ;
19
21
use Magento \Framework \ObjectManagerInterface ;
@@ -66,6 +68,7 @@ public function __construct()
66
68
AppObjectManager::setInstance ($ this ->objectManagerForTest );
67
69
Bootstrap::setObjectManager ($ this ->objectManagerForTest );
68
70
$ this ->comparator = $ this ->objectManagerForTest ->create (Comparator::class);
71
+ $ this ->objectManagerForTest ->get (State::class)->setAreaCode (Area::AREA_GRAPHQL );
69
72
$ this ->objectManagerForTest ->_resetState ();
70
73
}
71
74
You can’t perform that action at this time.
0 commit comments