Skip to content

Commit b6fcd37

Browse files
author
Dale Sikkema
committed
MAGETWO-33609: pull request for stories in this sprint
1 parent ef0b1b5 commit b6fcd37

File tree

14 files changed

+12
-28
lines changed

14 files changed

+12
-28
lines changed

app/code/Magento/AdminNotification/Model/System/Message/Baseurl.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
namespace Magento\AdminNotification\Model\System\Message;
1010

11-
use Magento\Framework\Store\StoreManagerInterface;
1211
use Magento\Store\Model\Store;
1312

1413
class Baseurl implements \Magento\Framework\Notification\MessageInterface

app/code/Magento/AdminNotification/Model/System/Message/Security.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
namespace Magento\AdminNotification\Model\System\Message;
1010

11-
use Magento\Framework\Store\StoreManagerInterface;
1211
use Magento\Store\Model\Store;
1312

1413
class Security implements \Magento\Framework\Notification\MessageInterface

app/code/Magento/Email/Model/Source/Variables.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66
namespace Magento\Email\Model\Source;
77

8-
use Magento\Framework\Store\StoreManagerInterface;
98
use Magento\Store\Model\Store;
109

1110
/**

app/code/Magento/Store/Model/SecureUrl.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ class SecureUrl implements \Magento\Framework\App\Router\SecureUrlInterface
1919
private $storeManager;
2020

2121
/**
22-
* @param \Magento\Framework\App\ResponseFactory $responseFactory
23-
* @param \Magento\Framework\UrlInterface $url
2422
* @param \Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig
2523
* @param \Magento\Framework\Url\SecurityInfoInterface $urlSecurityInfo
2624
* @param StoreManagerInterface $storeManager

dev/tests/integration/testsuite/Magento/Backend/Model/Config/Backend/BaseurlTest.php

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
*/
66
namespace Magento\Backend\Model\Config\Backend;
77

8-
use Magento\Framework\Store\StoreManagerInterface;
9-
use Magento\Store\Model\Store;
10-
118
/**
129
* @magentoAppArea adminhtml
1310
*/
@@ -43,7 +40,7 @@ public function validationDataProvider()
4340
return [
4441
['any/path', 'http://example.com/'],
4542
['any/path', 'http://example.com/uri/'],
46-
[Store::XML_PATH_UNSECURE_BASE_URL, $basePlaceholder],
43+
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_URL, $basePlaceholder],
4744
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_LINK_URL, $unsecurePlaceholder],
4845
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_LINK_URL, $unsecureSuffix],
4946
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_STATIC_URL, ''],
@@ -52,7 +49,7 @@ public function validationDataProvider()
5249
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_MEDIA_URL, ''],
5350
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_MEDIA_URL, $unsecurePlaceholder],
5451
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_MEDIA_URL, $unsecureSuffix],
55-
[Store::XML_PATH_SECURE_BASE_URL, $basePlaceholder],
52+
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_URL, $basePlaceholder],
5653
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_LINK_URL, $securePlaceholder],
5754
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_LINK_URL, $secureSuffix],
5855
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_STATIC_URL, ''],
@@ -61,7 +58,7 @@ public function validationDataProvider()
6158
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_MEDIA_URL, ''],
6259
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_MEDIA_URL, $securePlaceholder],
6360
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_MEDIA_URL, $secureSuffix],
64-
[Store::XML_PATH_SECURE_BASE_URL, $unsecurePlaceholder],
61+
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_URL, $unsecurePlaceholder],
6562
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_LINK_URL, $unsecurePlaceholder],
6663
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_LINK_URL, $unsecureSuffix],
6764
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_STATIC_URL, ''],
@@ -107,19 +104,19 @@ public function validationExceptionDataProvider()
107104
['', 'example.com'],
108105
['', 'http://example.com'],
109106
['', 'http://example.com/uri'],
110-
[Store::XML_PATH_UNSECURE_BASE_URL, ''],
111-
[Store::XML_PATH_UNSECURE_BASE_URL, $baseSuffix],
112-
[Store::XML_PATH_UNSECURE_BASE_URL, $unsecureSuffix],
113-
[Store::XML_PATH_UNSECURE_BASE_URL, $unsecurePlaceholder],
107+
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_URL, ''],
108+
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_URL, $baseSuffix],
109+
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_URL, $unsecureSuffix],
110+
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_URL, $unsecurePlaceholder],
114111
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_LINK_URL, ''],
115112
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_LINK_URL, $baseSuffix],
116113
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_LINK_URL, $unsecureWrongSuffix],
117114
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_MEDIA_URL, $unsecureWrongSuffix],
118115
[\Magento\Store\Model\Store::XML_PATH_UNSECURE_BASE_STATIC_URL, $unsecureWrongSuffix],
119-
[Store::XML_PATH_SECURE_BASE_URL, ''],
120-
[Store::XML_PATH_SECURE_BASE_URL, $baseSuffix],
121-
[Store::XML_PATH_SECURE_BASE_URL, $secureSuffix],
122-
[Store::XML_PATH_SECURE_BASE_URL, $securePlaceholder],
116+
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_URL, ''],
117+
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_URL, $baseSuffix],
118+
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_URL, $secureSuffix],
119+
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_URL, $securePlaceholder],
123120
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_LINK_URL, ''],
124121
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_LINK_URL, $baseSuffix],
125122
[\Magento\Store\Model\Store::XML_PATH_SECURE_BASE_LINK_URL, $secureWrongSuffix],

dev/tests/unit/filename

Whitespace-only changes.

dev/tests/unit/filename.csv

Whitespace-only changes.

dev/tests/unit/filename.invalid_type

Whitespace-only changes.

dev/tests/unit/testsuite/Magento/AdminNotification/Model/System/Message/BaseurlTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
*/
66
namespace Magento\AdminNotification\Model\System\Message;
77

8-
use Magento\Framework\Store\StoreManagerInterface;
98
use Magento\Store\Model\Store;
109

1110
class BaseurlTest extends \PHPUnit_Framework_TestCase

dev/tests/unit/testsuite/Magento/Setup/Model/UserConfigurationDataMapperTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
use Magento\Directory\Model\Currency;
1212
use Magento\Setup\Module\Setup;
1313
use Magento\Store\Model\Store;
14-
use Magento\Store\Model\StoreManager;
1514

1615
class UserConfigurationDataMapperTest extends \PHPUnit_Framework_TestCase
1716
{

0 commit comments

Comments
 (0)