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

Complete the code coverage for SimpleSAML\Utils\Arrays.

parent 583786ea
Branches
Tags v0.2.6
No related merge requests found
...@@ -42,6 +42,9 @@ class ArraysTest extends \PHPUnit_Framework_TestCase ...@@ -42,6 +42,9 @@ class ArraysTest extends \PHPUnit_Framework_TestCase
*/ */
public function testTranspose() public function testTranspose()
{ {
// check not array
$this->assertFalse(Arrays::transpose('string'));
// check bad arrays // check bad arrays
$this->assertFalse( $this->assertFalse(
Arrays::transpose(array('1', '2', '3')), Arrays::transpose(array('1', '2', '3')),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment