| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function test_password() { |
||
| 21 | $password_checker = new Password_Checker( null ); |
||
| 22 | |||
| 23 | $test_results = $password_checker->test( '123', true ); |
||
| 24 | $this->assertFalse( $test_results['passed'] ); |
||
| 25 | |||
| 26 | $test_results = $password_checker->test( 'password', true ); |
||
| 27 | $this->assertTrue( $test_results['passed'] ); |
||
| 28 | } |
||
| 29 | } |
||
| 30 |