@@ -817,7 +817,7 @@ |
||
817 | 817 | if ($dispatcher instanceof Response |
818 | 818 | && ($dispatcher->isRedirection() || $dispatcher->getContent()) |
819 | 819 | ) { // $paymentMethod->apply() が Response を返した場合は画面遷移 |
820 | - return $dispatcher; // 画面遷移したいパターンが複数ある場合はどうする? 引数で制御? |
|
820 | + return $dispatcher; // 画面遷移したいパターンが複数ある場合はどうする? 引数で制御? |
|
821 | 821 | } |
822 | 822 | $PaymentResult = $paymentService->doCheckout($paymentMethod); // 決済実行 |
823 | 823 | if (!$PaymentResult->isSuccess()) { |
@@ -48,6 +48,6 @@ |
||
48 | 48 | { |
49 | 49 | // $options = $this->eccubeConfig['doctrine_cache']; |
50 | 50 | // return $options['result_cache']['lifetime']; |
51 | - return 0; // FIXME |
|
51 | + return 0; // FIXME |
|
52 | 52 | } |
53 | 53 | } |
@@ -502,7 +502,7 @@ |
||
502 | 502 | { |
503 | 503 | $curl = curl_init($url); |
504 | 504 | |
505 | - $options = [ // オプション配列 |
|
505 | + $options = [// オプション配列 |
|
506 | 506 | //HEADER |
507 | 507 | CURLOPT_HTTPHEADER => [ |
508 | 508 | 'Authorization: '.base64_encode($authKey), |
@@ -374,7 +374,7 @@ |
||
374 | 374 | |
375 | 375 | $findPlugins = Fixtures::get('findPlugins'); |
376 | 376 | $Plugins = $findPlugins(); |
377 | - if (is_array($Plugins) && count($Plugins) > 0 ) { |
|
377 | + if (is_array($Plugins) && count($Plugins) > 0) { |
|
378 | 378 | $I->getScenario()->skip('プラグインのアンインストールが必要なため、テストをスキップします'); |
379 | 379 | } |
380 | 380 |
@@ -81,7 +81,7 @@ |
||
81 | 81 | $createCustomer = Fixtures::get('createCustomer'); |
82 | 82 | $customer = $createCustomer(); |
83 | 83 | $I->resetEmails(); |
84 | - $I->submitForm('#form1',[ |
|
84 | + $I->submitForm('#form1', [ |
|
85 | 85 | 'login_email' => $customer->getEmail() |
86 | 86 | ]); |
87 | 87 | $I->see('パスワード発行メールの送信 完了', 'div.ec-pageHeader h1'); |
@@ -95,7 +95,7 @@ discard block |
||
95 | 95 | |
96 | 96 | // 会員情報入力フォームに、会員情報を入力する |
97 | 97 | // 「同意する」ボタンを押下する |
98 | - $I->submitForm(['css' => '.ec-layoutRole__main form'],[ |
|
98 | + $I->submitForm(['css' => '.ec-layoutRole__main form'], [ |
|
99 | 99 | 'entry[name][name01]' => '姓', |
100 | 100 | 'entry[name][name02]' => '名', |
101 | 101 | 'entry[kana][kana01]' => 'セイ', |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | |
129 | 129 | // 会員情報入力フォームに、会員情報を入力する |
130 | 130 | // 「同意する」ボタンを押下する |
131 | - $I->submitForm(['css' => '.ec-layoutRole__main form'],[ |
|
131 | + $I->submitForm(['css' => '.ec-layoutRole__main form'], [ |
|
132 | 132 | 'entry[name][name01]' => '', |
133 | 133 | 'entry[name][name02]' => '名', |
134 | 134 | 'entry[kana][kana01]' => 'セイ', |
@@ -92,7 +92,7 @@ discard block |
||
92 | 92 | |
93 | 93 | $CustomerRegisterPage->登録(); |
94 | 94 | /* ブラウザによるhtml5のエラーなのでハンドリング不可 */ |
95 | - $I->see('会員情報を保存しました。', CustomerEditPage::$登録完了メッセージ); } |
|
95 | + $I->see('会員情報を保存しました。', CustomerEditPage::$登録完了メッセージ); } |
|
96 | 96 | |
97 | 97 | public function customer_会員登録_必須項目未入力(\AcceptanceTester $I) |
98 | 98 | { |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | $CustomerListPage = CustomerManagePage::go($I) |
147 | 147 | ->検索($customer->getEmail()); |
148 | 148 | |
149 | - $I->see('検索結果:1件が該当しました' ,CustomerManagePage::$検索結果メッセージ); |
|
149 | + $I->see('検索結果:1件が該当しました', CustomerManagePage::$検索結果メッセージ); |
|
150 | 150 | |
151 | 151 | $CustomerListPage->一覧_編集(1); |
152 | 152 |
@@ -140,7 +140,7 @@ |
||
140 | 140 | ProductDetailPage::go($I, 2); |
141 | 141 | |
142 | 142 | // 「カートに入れる」ボタンが、非活性となり「ただいま品切れ中です」と表示される。 |
143 | - $I->see('ただいま品切れ中です','#form1 button'); |
|
143 | + $I->see('ただいま品切れ中です', '#form1 button'); |
|
144 | 144 | } |
145 | 145 | |
146 | 146 | public function product_商品詳細カテゴリリンク(\AcceptanceTester $I) |
@@ -98,7 +98,7 @@ |
||
98 | 98 | return "body > div > div.c-contentsArea > div.c-contentsArea__cols > div.c-contentsArea__primaryCol > div > div > div > div > ul > li:nth-child($rowNum) > div > div.col.d-flex.align-items-center > a"; |
99 | 99 | } |
100 | 100 | |
101 | - public static function XPathでタグを取得する($textEl){ |
|
101 | + public static function XPathでタグを取得する($textEl) { |
|
102 | 102 | return '//*[@id="page_admin_product_category"]/div[1]/div[3]/div[3]/div[1]/div/div/div/div/ul/li/div/div[2]/a[contains(text(), "'.$textEl.'")]'; |
103 | 103 | } |
104 | 104 | } |
105 | 105 | \ No newline at end of file |