◆ setUp()
  
  
      
        
          | ilServicesAuthShibbolethTest::setUp  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
Definition at line 26 of file ilServicesAuthShibbolethTest.php.
References $DIC.
   29         $this->dic_backup = is_object($DIC) ? clone 
$DIC : 
$DIC;
    32         $DIC[
'ilDB'] = $this->createMock(ilDBInterface::class);
 Customizing of pimple-DIC for ILIAS. 
 
 
 
 
◆ tearDown()
  
  
      
        
          | ilServicesAuthShibbolethTest::tearDown  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ testRuleAssignement()
      
        
          | ilServicesAuthShibbolethTest::testRuleAssignement  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 41 of file ilServicesAuthShibbolethTest.php.
   44         $rule->setName(
'attribute_1');
    45         $rule->setValue(
'value_1');
    47         $this->assertTrue($rule->matches([
'attribute_1' => 
'value_1']));
    48         $this->assertFalse($rule->matches([
'attribute_2' => 
'value_2']));
 Shibboleth role assignment rule. 
 
 
 
 
◆ testWildcardRuleAssignement()
      
        
          | ilServicesAuthShibbolethTest::testWildcardRuleAssignement  | 
          ( | 
           | ) | 
           | 
        
      
 
Definition at line 51 of file ilServicesAuthShibbolethTest.php.
   54         $rule->setName(
'attribute_1');
    55         $rule->setValue(
'value_*');
    57         $this->assertTrue($rule->matches([
'attribute_1' => 
'value_1']));
    58         $this->assertTrue($rule->matches([
'attribute_1' => 
'value_2']));
    59         $this->assertFalse($rule->matches([
'attribute_2' => 
'value_2']));
 Shibboleth role assignment rule. 
 
 
 
 
◆ $dic_backup
The documentation for this class was generated from the following file: