From 57960b1cabae437806d59e742b33ff393f2a18be Mon Sep 17 00:00:00 2001 From: johndoh Date: Sun, 13 Oct 2019 14:51:16 +0100 Subject: [PATCH] add messages for in_array_nocase tests (#6957) --- tests/Framework/Bootstrap.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Framework/Bootstrap.php b/tests/Framework/Bootstrap.php index 8d47debf1..eeac418eb 100644 --- a/tests/Framework/Bootstrap.php +++ b/tests/Framework/Bootstrap.php @@ -17,11 +17,11 @@ class Framework_Bootstrap extends PHPUnit_Framework_TestCase $needle = 'test'; $result = in_array_nocase($needle, $haystack); - $this->assertTrue($result, $title); + $this->assertTrue($result, "Invalid in_array_nocase() result (Array)"); $result = in_array_nocase($needle, null); - $this->assertFalse($result, $title); + $this->assertFalse($result, "Invalid in_array_nocase() result (null)"); } /**