'Password is shorter than minimal policy'
);
$this->assertTrue(
- $statusShort->isOk(),
+ $statusShort->isOK(),
'Password is shorter than minimal policy, not fatal'
);
}
'Password is shorter than minimum login policy'
);
$this->assertFalse(
- $statusShort->isOk(),
+ $statusShort->isOK(),
'Password is shorter than minimum login policy, fatal'
);
}
$this->assertFalse( $statusLong->isGood(),
'Password is longer than maximal policy'
);
- $this->assertFalse( $statusLong->isOk(),
+ $this->assertFalse( $statusLong->isOK(),
'Password is longer than maximal policy, fatal'
);
}
'user' // password
);
$this->assertFalse( $statusLong->isGood(), 'Password matches username' );
- $this->assertTrue( $statusLong->isOk(), 'Password matches username, not fatal' );
+ $this->assertTrue( $statusLong->isOK(), 'Password matches username, not fatal' );
}
/**
'Passpass1' // password
);
$this->assertFalse( $statusLong->isGood(), 'Password matches blacklist' );
- $this->assertTrue( $statusLong->isOk(), 'Password matches blacklist, not fatal' );
+ $this->assertTrue( $statusLong->isOK(), 'Password matches blacklist, not fatal' );
}
}