From c7b43c699aca6eccca4f6469acf6b5b68051e06a Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 16 Mar 2019 09:35:03 +1300 Subject: [PATCH] Add more data when test fails --- tests/phpunit/api/v3/LoggingTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/api/v3/LoggingTest.php b/tests/phpunit/api/v3/LoggingTest.php index eaa9fdb641..4b2a9faf44 100644 --- a/tests/phpunit/api/v3/LoggingTest.php +++ b/tests/phpunit/api/v3/LoggingTest.php @@ -443,7 +443,7 @@ class api_v3_LoggingTest extends CiviUnitTestCase { return TRUE; } } - throw new CRM_Core_Exception("No match found for key : $expectKey with value : $expectValue"); + throw new CRM_Core_Exception("No match found for key : $expectKey with value : $expectValue" . print_r($diffs, 1)); } /** -- 2.25.1