summaryrefslogtreecommitdiffstats
path: root/tests/lib/SimpleSAML
diff options
context:
space:
mode:
authorJaime Perez Crespo <jaime.perez@uninett.no>2016-03-04 15:23:47 +0100
committerJaime Perez Crespo <jaime.perez@uninett.no>2016-03-04 15:23:47 +0100
commitfaa72450df78e2bf93d42df62998e84ae26a4e87 (patch)
tree4f5c6effd0944e5fcab6b8d21cfb8774792a60b2 /tests/lib/SimpleSAML
parent583786ea1eaf26f38a5efdc3ab4915e38220832c (diff)
downloadsimplesamlphp-faa72450df78e2bf93d42df62998e84ae26a4e87.zip
simplesamlphp-faa72450df78e2bf93d42df62998e84ae26a4e87.tar.gz
simplesamlphp-faa72450df78e2bf93d42df62998e84ae26a4e87.tar.bz2
Complete the code coverage for SimpleSAML\Utils\Arrays.
Diffstat (limited to 'tests/lib/SimpleSAML')
-rw-r--r--tests/lib/SimpleSAML/Utils/ArraysTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/SimpleSAML/Utils/ArraysTest.php b/tests/lib/SimpleSAML/Utils/ArraysTest.php
index e32c8ae..c4a3872 100644
--- a/tests/lib/SimpleSAML/Utils/ArraysTest.php
+++ b/tests/lib/SimpleSAML/Utils/ArraysTest.php
@@ -42,6 +42,9 @@ class ArraysTest extends \PHPUnit_Framework_TestCase
*/
public function testTranspose()
{
+ // check not array
+ $this->assertFalse(Arrays::transpose('string'));
+
// check bad arrays
$this->assertFalse(
Arrays::transpose(array('1', '2', '3')),