◆ setUp()
ilServicesAuthShibbolethTest::setUp |
( |
| ) |
|
|
protected |
◆ tearDown()
ilServicesAuthShibbolethTest::tearDown |
( |
| ) |
|
|
protected |
◆ testRuleAssignement()
ilServicesAuthShibbolethTest::testRuleAssignement |
( |
| ) |
|
Definition at line 43 of file ilServicesAuthShibbolethTest.php.
43 : void
44 {
46 $rule->setName('attribute_1');
47 $rule->setValue('value_1');
48
49 $this->assertTrue($rule->matches(['attribute_1' => 'value_1']));
50 $this->assertFalse($rule->matches(['attribute_2' => 'value_2']));
51 }
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
◆ testWildcardRuleAssignement()
ilServicesAuthShibbolethTest::testWildcardRuleAssignement |
( |
| ) |
|
Definition at line 53 of file ilServicesAuthShibbolethTest.php.
53 : void
54 {
56 $rule->setName('attribute_1');
57 $rule->setValue('value_*');
58
59 $this->assertTrue($rule->matches(['attribute_1' => 'value_1']));
60 $this->assertTrue($rule->matches(['attribute_1' => 'value_2']));
61 $this->assertFalse($rule->matches(['attribute_2' => 'value_2']));
62 }
◆ $dic_backup
Container ilServicesAuthShibbolethTest::$dic_backup |
|
private |
The documentation for this class was generated from the following file: