Add more data when test fails
authoreileen <emcnaughton@wikimedia.org>
Fri, 15 Mar 2019 20:35:03 +0000 (09:35 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 15 Mar 2019 20:35:03 +0000 (09:35 +1300)
tests/phpunit/api/v3/LoggingTest.php

index eaa9fdb641597cb83951385113f98603c8bd7093..4b2a9faf449e058ebbf6c4af9e0933f7b09eafee 100644 (file)
@@ -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));
   }
 
   /**