File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
dev/tests/integration/testsuite/Magento/Wishlist/Model/ResourceModel/Item Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
-
2
+ /**
3
+ * Copyright © 2013-2017 Magento, Inc. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
3
6
4
7
namespace Magento \Wishlist \Model \ResourceModel \Item ;
5
8
6
-
7
9
use Magento \Catalog \Model \Product ;
8
10
use Magento \Framework \App \ObjectManager ;
9
11
use Magento \Wishlist \Model \Wishlist ;
@@ -15,14 +17,17 @@ class CollectionTest extends \PHPUnit_Framework_TestCase
15
17
* @var ObjectManager
16
18
*/
17
19
private $ objectManager ;
20
+
18
21
/**
19
22
* @var Collection
20
23
*/
21
24
private $ itemCollection ;
25
+
22
26
/**
23
27
* @var Wishlist
24
28
*/
25
29
private $ wishlist ;
30
+
26
31
/**
27
32
* @var Config\Data
28
33
*/
@@ -35,7 +40,10 @@ protected function setUp()
35
40
$ this ->itemCollection = $ this ->objectManager ->get (Collection::class);
36
41
$ this ->attributeConfig = $ this ->objectManager ->get (Config \Data::class);
37
42
}
43
+
38
44
/**
45
+ * Verify that Wishlist Item Collection uses Catalog Attributes defined in the configuration.
46
+ *
39
47
* @magentoDataFixture Magento/Wishlist/_files/wishlist_shared.php
40
48
* @magentoAppIsolation enabled
41
49
* @magentoDbIsolation enabled
@@ -55,7 +63,7 @@ public function testLoadedProductAttributes()
55
63
}
56
64
57
65
/**
58
- * @param $attributes
66
+ * @param array $attributes
59
67
*/
60
68
private function addAttributesToWishlistConfig ($ attributes )
61
69
{
You can’t perform that action at this time.
0 commit comments