File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
dev/tests/integration/testsuite/Magento/CustomerImportExport/Model/Import Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -74,11 +74,18 @@ class AddressTest extends \PHPUnit_Framework_TestCase
74
74
'not_delete ' => '72701 ' , // not deleted address
75
75
];
76
76
77
+ /** @var \Magento\Customer\Model\Resource\Customer */
78
+ protected $ customerResource ;
79
+
77
80
/**
78
81
* Init new instance of address entity adapter
79
82
*/
80
83
protected function setUp ()
81
84
{
85
+ /** @var \Magento\Catalog\Model\Resource\Product $productResource */
86
+ $ this ->customerResource = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->get (
87
+ 'Magento\Customer\Model\Resource\Customer '
88
+ );
82
89
$ this ->_entityAdapter = \Magento \TestFramework \Helper \Bootstrap::getObjectManager ()->create (
83
90
$ this ->_testClassName
84
91
);
@@ -336,7 +343,7 @@ public function testSaveCustomerDefaults()
336
343
337
344
// set customer defaults
338
345
$ defaults = [
339
- 'customer_entity ' => [
346
+ $ this -> customerResource -> getTable ( 'customer_entity ' ) => [
340
347
$ customerId => ['default_billing ' => $ addressId , 'default_shipping ' => $ addressId ],
341
348
],
342
349
];
You can’t perform that action at this time.
0 commit comments