Skip to content

Commit 4a084a6

Browse files
committed
AC-15248: [Integration Test] Exception in third-party event subscriber: Invalid scope type stores
1 parent 24de48e commit 4a084a6

File tree

1 file changed

+5
-4
lines changed
  • dev/tests/integration/framework/Magento/TestFramework/App

1 file changed

+5
-4
lines changed

dev/tests/integration/framework/Magento/TestFramework/App/Config.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<?php
22
/**
3-
* Copyright 2016 Adobe
4-
* All Rights Reserved.
3+
* Application configuration object. Used to access configuration when application is initialized and installed.
4+
*
5+
* Copyright © Magento, Inc. All rights reserved.
6+
* See COPYING.txt for license details.
57
*/
68
namespace Magento\TestFramework\App;
79

@@ -75,8 +77,7 @@ public function setValue(
7577
}
7678

7779
if (empty($scopeCode)) {
78-
$scopeCode = $this->getScopeCodeResolver()
79-
->resolve(ScopeConfigInterface::SCOPE_TYPE_DEFAULT, $scopeCode);
80+
$scopeCode = $this->getScopeCodeResolver()->resolve($scope, $scopeCode);
8081
}
8182

8283
$keys = explode('/', $path);

0 commit comments

Comments
 (0)