| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function authentication_パスワード認証(\AcceptanceTester $I) |
||
| 21 | { |
||
| 22 | $I->wantTo('EA0201-UC01-T01 パスワード認証'); |
||
| 23 | |||
| 24 | // _before()で正常系はテスト済み |
||
| 25 | // 異常系のテスト |
||
| 26 | $I->logoutAsAdmin(); |
||
| 27 | |||
| 28 | $I->submitForm('#form1', [ |
||
| 29 | 'login_id' => "invalid", |
||
| 30 | 'password' => "invalidpassword" |
||
| 31 | ]); |
||
| 32 | |||
| 33 | $I->see('ログインできませんでした。', '.login-box #form1 .text-danger'); |
||
| 34 | } |
||
| 35 | |||
| 50 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.