File tree 6 files changed +30
-5
lines changed
Test/Unit/Controller/Index
Wishlist/view/frontend/layout
dev/tests/integration/testsuite/Magento/Framework/App/Language/_files/bar/en_gb
lib/internal/Magento/Framework/App/Language
6 files changed +30
-5
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <!--
3
+ /**
4
+ * Copyright © Magento, Inc. All rights reserved.
5
+ * See COPYING.txt for license details.
6
+ */
7
+ -->
8
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Acl/etc/acl.xsd" >
9
+ <acl >
10
+ <resources >
11
+ <resource id =" Magento_Backend::admin" >
12
+ <resource id =" Magento_Backend::system" >
13
+ <resource id =" Magento_Integration::extensions" title =" System Extensions" translate =" title" sortOrder =" 30" >
14
+ <resource id =" Magento_Integration::integrations" title =" System Integrations" translate =" title" sortOrder =" 40" />
15
+ </resource >
16
+ </resource >
17
+ </resource >
18
+ </resources >
19
+ </acl >
20
+ </config >
Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ public function execute()
43
43
/** @var Page $resultPage */
44
44
$ resultPage = $ this ->resultPageFactory ->create (true );
45
45
$ resultPage ->addHandle ('robots_index_index ' );
46
+ $ resultPage ->setHeader ('Content-Type ' , 'text/plain ' );
46
47
return $ resultPage ;
47
48
}
48
49
}
Original file line number Diff line number Diff line change @@ -51,6 +51,9 @@ public function testExecute()
51
51
$ resultPageMock ->expects ($ this ->once ())
52
52
->method ('addHandle ' )
53
53
->with ('robots_index_index ' );
54
+ $ resultPageMock ->expects ($ this ->once ())
55
+ ->method ('setHeader ' )
56
+ ->with ('Content-Type ' , 'text/plain ' );
54
57
55
58
$ this ->resultPageFactory ->expects ($ this ->any ())
56
59
->method ('create ' )
Original file line number Diff line number Diff line change 7
7
-->
8
8
<page xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:View/Layout/etc/page_configuration.xsd" >
9
9
<body >
10
- <referenceContainer name =" root" >
11
- <block class =" Magento\Wishlist\Block\Rss\EmailLink" name =" wishlist.email.rss" cacheable =" false" />
12
- </referenceContainer >
10
+ <block class =" Magento\Wishlist\Block\Rss\EmailLink" name =" wishlist.email.rss" cacheable =" false" />
13
11
</body >
14
12
</page >
Original file line number Diff line number Diff line change 1
1
four and 75/100,4.75
2
- four and 5/10,4.50
2
+ four and 5/10,4.50
3
+
Original file line number Diff line number Diff line change @@ -193,7 +193,9 @@ private function readPackCsv($vendor, $package)
193
193
foreach ($ foundCsvFiles as $ foundCsvFile ) {
194
194
$ file = $ directoryRead ->openFile ($ foundCsvFile );
195
195
while (($ row = $ file ->readCsv ()) !== false ) {
196
- $ result [$ row [0 ]] = $ row [1 ];
196
+ if (is_array ($ row ) && count ($ row ) > 1 ) {
197
+ $ result [$ row [0 ]] = $ row [1 ];
198
+ }
197
199
}
198
200
}
199
201
}
You can’t perform that action at this time.
0 commit comments