Total Complexity | 3 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class YubikeyFormTest extends SapphireTest |
||
12 | { |
||
13 | /** |
||
14 | * @var YubikeyForm; |
||
15 | */ |
||
16 | protected $form; |
||
17 | |||
18 | public function testBackURL() |
||
19 | { |
||
20 | $fields = $this->form->getFormFields(); |
||
21 | |||
22 | $this->assertNotNull($fields->dataFieldByName('BackURL')); |
||
|
|||
23 | } |
||
24 | |||
25 | public function testAuthenticatorName() |
||
26 | { |
||
27 | $this->assertEquals('Yubikey authentication', $this->form->getAuthenticatorName()); |
||
28 | } |
||
29 | |||
30 | protected function setUp() |
||
39 | } |
||
40 | } |
||
41 |