| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 42 | public function test_password() { |
||
| 43 | $password_checker = new Password_Checker( null ); |
||
| 44 | |||
| 45 | $test_results = $password_checker->test( '123', true ); |
||
| 46 | $this->assertFalse( $test_results['passed'] ); |
||
| 47 | |||
| 48 | $test_results = $password_checker->test( 'password', true ); |
||
| 49 | $this->assertTrue( $test_results['passed'] ); |
||
| 50 | } |
||
| 51 | } |
||
| 52 |