File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
dev/tests/integration/testsuite/Magento/Customer Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ public function testAddNameToSelect()
26
26
$ this ->_collection ->addNameToSelect ();
27
27
$ joinParts = $ this ->_collection ->getSelect ()->getPart (\Zend_Db_Select::FROM );
28
28
29
- $ this ->assertEmpty ($ joinParts );
29
+ $ this ->assertArrayHasKey ('e ' , $ joinParts );
30
+ $ this ->assertCount (1 , $ joinParts );
30
31
}
31
32
}
Original file line number Diff line number Diff line change 17
17
->setGroupId (1 )
18
18
->setStoreId (1 )
19
19
->setIsActive (1 )
20
+ ->setCreatedIn ('Store Name ' )
21
+ ->setPrefix ('Mr. ' )
20
22
->setFirstname ('John ' )
23
+ ->setMiddlename ('A ' )
21
24
->setLastname ('Smith ' )
25
+ ->setSuffix ('Esq. ' )
26
+ ->setDob ('1970-01-01 ' )
22
27
->setDefaultBilling (1 )
23
- ->setDefaultShipping (1 );
28
+ ->setDefaultShipping (1 )
29
+ ->setTaxvat ('12 ' )
30
+ ->setConfirmation ('a4fg7h893e39d ' )
31
+ ->setGender (0 );
24
32
$ customer ->isObjectNew (true );
25
33
$ customer ->save ();
You can’t perform that action at this time.
0 commit comments