From faa72450df78e2bf93d42df62998e84ae26a4e87 Mon Sep 17 00:00:00 2001
From: Jaime Perez Crespo <jaime.perez@uninett.no>
Date: Fri, 4 Mar 2016 15:23:47 +0100
Subject: [PATCH] Complete the code coverage for SimpleSAML\Utils\Arrays.

---
 tests/lib/SimpleSAML/Utils/ArraysTest.php | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/lib/SimpleSAML/Utils/ArraysTest.php b/tests/lib/SimpleSAML/Utils/ArraysTest.php
index e32c8aee2..c4a38726a 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')),
-- 
GitLab