Skip to content
Snippets Groups Projects
Commit 6901ff24 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Test XML::checkSAMLMessage (invalid type)

parent 1a880282
No related branches found
No related tags found
No related merge requests found
......@@ -379,4 +379,13 @@ NOWDOC;
$this->assertTrue($res);
}
/**
* @covers \SimpleSAML\Utils\XML::checkSAMLMessage()
*/
public function testCheckSAMLMessageInvalidType()
{
$this->setExpectedException('\InvalidArgumentException');
XML::checkSAMLMessage('<test></test>', 'blub');
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment