Skip to content

Commit

Permalink
Remove obsolete unit-test; it is taken care of by the SerializableEle…
Browse files Browse the repository at this point in the history
…mentTestTrait
  • Loading branch information
tvdijen committed Jul 31, 2024
1 parent 6784f67 commit 82c2903
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions tests/SPID/XML/saml/IssuerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,23 +74,4 @@ public function testUnmarshalling(): void
$this->assertEquals(Constants::NAMEID_ENTITY, $issuer->getFormat());
$this->assertNull($issuer->getSPProvidedID());
}


/**
* @return void
*/
public function testUnmarshallingInvalidAttr(): void
{
$element = clone self::$xmlRepresentation->documentElement;
$element->setAttribute('SPProvidedID', 'TheSPProvidedID');
$element->setAttribute('SPNameQualifier', 'TheSPNameQualifier');

$issuer = Issuer::fromXML($element);

$this->assertEquals('TheIssuerValue', $issuer->getContent());
$this->assertEquals('TheNameQualifier', $issuer->getNameQualifier());
$this->assertNull($issuer->getSPNameQualifier());
$this->assertEquals(Constants::NAMEID_ENTITY, $issuer->getFormat());
$this->assertNull($issuer->getSPProvidedID());
}
}

0 comments on commit 82c2903

Please sign in to comment.