Lines Matching refs:checkPolicy

64 …$this->assertTrue($policy->checkPolicy('tested', 'tested'), '1 pool, no user check ' . $policy->er…
65 $this->assertFalse($policy->checkPolicy('test', 'tested'),
68 …$this->assertTrue($policy->checkPolicy('tested99!', 'tested'), '1 pool, no user check ' . $policy-…
71 …$this->assertFalse($policy->checkPolicy('tested', 'tested'), '3 pools, no user check ' . $policy->…
73 …$this->assertTrue($policy->checkPolicy('tested99!', 'tested'), '3 pools, no user check ' . $policy…
76 …$this->assertFalse($policy->checkPolicy('tested', 'tested'), '1 pool, user check ' . $policy->erro…
78 …$this->assertFalse($policy->checkPolicy('tested99!', 'tested'), '1 pool, user check ' . $policy->e…
80 …$this->assertFalse($policy->checkPolicy('tested', 'untested'), '1 pool, user check ' . $policy->er…
82 …$this->assertFalse($policy->checkPolicy('tested99!', 'comptessa'), '1 pool1, user check ' . $polic…
89 $this->assertTrue($policy->checkPolicy('bazzel', 'nope'));
90 $this->assertFalse($policy->checkPolicy('eyphed', 'nope'));
94 $this->assertTrue($policy->checkPolicy('password', 'nope'));
100 $this->assertTrue($policy->checkPolicy('sadf asfd s as asf a afafaa fadfsa fas', 'nope'));
101 $this->assertFalse($policy->checkPolicy('qwertzuiop', 'nope'));
105 $this->assertTrue($policy->checkPolicy('qwertzuiop', 'nope'));
111 …$this->assertTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '0 required, 4 given ' . $pol…
112 …$this->assertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '0 required, 3 given ' . $polic…
113 …$this->assertTrue($policy->checkPolicy('lowerUPPER', 'tester'), '0 required, 2 given ' . $policy->…
114 …$this->assertTrue($policy->checkPolicy('lower', 'tester'), '0 required, 1 given ' . $policy->error…
117 …$this->assertTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '1 required, 4 given ' . $pol…
118 …$this->assertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '1 required, 3 given ' . $polic…
119 …$this->assertTrue($policy->checkPolicy('lowerUPPER', 'tester'), '1 required, 2 given ' . $policy->…
120 …$this->assertTrue($policy->checkPolicy('lower', 'tester'), '1 required, 1 given ' . $policy->error…
123 …$this->assertTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '2 required, 4 given ' . $pol…
124 …$this->assertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '2 required, 3 given ' . $polic…
125 …$this->assertTrue($policy->checkPolicy('lowerUPPER', 'tester'), '2 required, 2 given ' . $policy->…
126 …$this->assertFalse($policy->checkPolicy('lower', 'tester'), '2 required, 1 given ' . $policy->erro…
130 …$this->assertTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '3 required, 4 given ' . $pol…
131 …$this->assertTrue($policy->checkPolicy('lowerUPPER123', 'tester'), '3 required, 3 given ' . $polic…
132 …$this->assertFalse($policy->checkPolicy('lowerUPPER', 'tester'), '3 required, 2 given ' . $policy-…
134 …$this->assertFalse($policy->checkPolicy('lower', 'tester'), '3 required, 1 given ' . $policy->erro…
138 …$this->assertTrue($policy->checkPolicy('lowerUPPER123!"', 'tester'), '4 required, 4 given ' . $pol…
139 …$this->assertFalse($policy->checkPolicy('lowerUPPER123', 'tester'), '4 required, 3 given ' . $poli…
141 …$this->assertFalse($policy->checkPolicy('lowerUPPER', 'tester'), '4 required, 2 given ' . $policy-…
143 …$this->assertFalse($policy->checkPolicy('lower', 'tester'), '4 required, 1 given ' . $policy->erro…