@@ -75,7 +75,7 @@ |
||
75 | 75 | |
76 | 76 | public function 規格管理() |
77 | 77 | { |
78 | - $this->tester->scrollTo(['css' => '#standardConfig > div > div.d-block.text-center > a'],0, 200); |
|
78 | + $this->tester->scrollTo(['css' => '#standardConfig > div > div.d-block.text-center > a'], 0, 200); |
|
79 | 79 | $this->tester->click(['css' => '#standardConfig > div > div.d-block.text-center > a']); |
80 | 80 | $this->tester->waitForElement(['css' => '#standardConfig > div > div.d-block.text-center > a']); |
81 | 81 | $this->tester->wait(1); |
@@ -97,7 +97,7 @@ |
||
97 | 97 | $password = substr(str_shuffle('1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'), 0, 20); |
98 | 98 | |
99 | 99 | // メルアド・新パスワード設定 |
100 | - $I->submitForm('#form1',[ |
|
100 | + $I->submitForm('#form1', [ |
|
101 | 101 | 'login_email' => $customer->getEmail(), |
102 | 102 | 'password[first]' => $password, |
103 | 103 | 'password[second]' => $password |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * @param null $category2 |
80 | 80 | * @return ProductDetailPage |
81 | 81 | */ |
82 | - public function カートに入れる($num, $category1 = null, $category2= null) |
|
82 | + public function カートに入れる($num, $category1 = null, $category2 = null) |
|
83 | 83 | { |
84 | 84 | $this->tester->fillField(['id' => 'quantity'], $num); |
85 | 85 | if (!is_null($category1)) { |
@@ -270,7 +270,7 @@ |
||
270 | 270 | |
271 | 271 | // Assign session carts into customer carts |
272 | 272 | $Carts = $this->cartService->getCarts(); |
273 | - $qtyInCart = array_reduce($Carts, function($qty, $Cart) { |
|
273 | + $qtyInCart = array_reduce($Carts, function ($qty, $Cart) { |
|
274 | 274 | return $qty + $Cart->getTotalQuantity(); |
275 | 275 | }); |
276 | 276 |