Code Duplication    Length = 5-5 lines in 3 locations

codeception/acceptance/EF04CustomerCest.php 2 locations

@@ 55-59 (lines=5) @@
52
        $I->click('.ec-registerRole form button.ec-blockBtn--action');
53
54
        $I->seeEmailCount(2);
55
        foreach (array($new_email, $BaseInfo->getEmail01()) as $email) {
56
            $I->seeInLastEmailSubjectTo($email, '会員登録のご確認');
57
            $I->seeInLastEmailTo($email, '姓 名 様');
58
            $I->seeInLastEmailTo($email, 'この度は会員登録依頼をいただきまして、有り難うございます。');
59
        }
60
61
        // 「トップページへ」ボタンを押下する
62
        $I->click('a.ec-blockBtn--cancel');
@@ 75-79 (lines=5) @@
72
        $I->see('新規会員登録(完了)', 'div.ec-pageHeader h1');
73
74
        $I->seeEmailCount(2);
75
        foreach (array($new_email, $BaseInfo->getEmail01()) as $email) {
76
            $I->seeInLastEmailSubjectTo($email, '会員登録が完了しました。');
77
            $I->seeInLastEmailTo($email, '姓 名 様');
78
            $I->seeInLastEmailTo($email, '本会員登録が完了いたしました。');
79
        }
80
81
        $I->click('div.ec-registerCompleteRole a.ec-blockBtn--cancel');
82
        $I->see('新着情報', '.ec-news__title');

codeception/acceptance/EF06OtherCest.php 1 location

@@ 185-189 (lines=5) @@
182
183
        // メールチェック
184
        $I->seeEmailCount(2);
185
        foreach (array($new_email, $BaseInfo->getEmail01()) as $email) {
186
            $I->seeInLastEmailSubjectTo($email, 'お問い合わせを受け付けました');
187
            $I->seeInLastEmailTo($email, '姓 名 様');
188
            $I->seeInLastEmailTo($email, 'お問い合わせ内容の送信');
189
        }
190
    }
191
}
192