Skip to content
Snippets Groups Projects
Commit c6b2fdcb authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Fix build errors.

parent 7c02bdba
No related branches found
No related tags found
No related merge requests found
......@@ -324,7 +324,7 @@ class SimpleSAML_Utilities {
/**
* @deprecated This method will be removed in SSP 2.0. Please use openssl_random_pseudo_bytes() instead.
* @deprecated This method will be removed in SSP 2.0. Please use openssl_random_pseudo_bytes() instead.
*/
public static function generateRandomBytes($length) {
assert('is_int($length)');
......
......@@ -36,7 +36,7 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
/**
* Test the normalizeAttributesArray() function with input not being an array
*
* @expectedException SimpleSAML_Error_Exception
* @expectedException InvalidArgumentException
*/
public function testNormalizeAttributesArrayBadInput()
{
......@@ -46,7 +46,7 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
/**
* Test the normalizeAttributesArray() function with an array with non-string attribute names.
*
* @expectedException SimpleSAML_Error_Exception
* @expectedException InvalidArgumentException
*/
public function testNormalizeAttributesArrayBadKeys()
{
......@@ -56,7 +56,7 @@ class Utils_ArraysTest extends PHPUnit_Framework_TestCase
/**
* Test the normalizeAttributesArray() function with an array with non-string attribute values.
*
* @expectedException SimpleSAML_Error_Exception
* @expectedException InvalidArgumentException
*/
public function testNormalizeAttributesArrayBadValues()
{
......
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