File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
dev/tests/api-functional/testsuite/Magento/GraphQl/Quote/Customer Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -45,20 +45,11 @@ protected function setUp()
45
45
*/
46
46
protected function tearDown ()
47
47
{
48
- /** @var \Magento\Framework\Registry $registry */
49
- $ registry = Bootstrap::getObjectManager ()->get (\Magento \Framework \Registry::class);
50
- $ registry ->unregister ('isSecureArea ' );
51
- $ registry ->register ('isSecureArea ' , true );
52
-
53
48
/** @var $order \Magento\Quote\Model\Quote */
54
49
$ quoteCollection = Bootstrap::getObjectManager ()->create (\Magento \Quote \Model \ResourceModel \Quote \Collection::class);
55
50
foreach ($ quoteCollection as $ quote ) {
56
51
$ quote ->delete ();
57
52
}
58
-
59
- $ registry ->unregister ('isSecureArea ' );
60
- $ registry ->register ('isSecureArea ' , false );
61
-
62
53
parent ::tearDown ();
63
54
}
64
55
You can’t perform that action at this time.
0 commit comments