Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | public function testAuthOptions() |
||
14 | { |
||
15 | $authOptions = new AuthOptions(); |
||
16 | |||
17 | $this->assertEquals(AuthOptions::DEFAULT_VARIABLE_NAME, $authOptions->getVariableName()); |
||
18 | $this->assertEquals(AuthOptions::ATTRIBUTE_STORAGE_TYPE, $authOptions->getVariableStorageType()); |
||
19 | |||
20 | $authOptions->setVariableName('var1'); |
||
21 | $this->assertEquals('var1', $authOptions->getVariableName()); |
||
22 | |||
23 | $authOptions->setVariableStorageType(AuthOptions::COOKIE_STORAGE_TYPE); |
||
24 | $this->assertEquals(AuthOptions::COOKIE_STORAGE_TYPE, $authOptions->getVariableStorageType()); |
||
25 | } |
||
26 | } |