fix for test bug due to faulty kiwi brain wiring
authorEileen McNaughton <eileen@fuzion.co.nz>
Sat, 3 May 2014 04:37:17 +0000 (21:37 -0700)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sat, 3 May 2014 04:37:17 +0000 (21:37 -0700)
tests/phpunit/CRM/Core/PaymentTest.php

index 816cf3ba4e6ccf31c6bbe976f71002918603a738..24756c66f73004898af9322e394a968321944e69 100644 (file)
@@ -49,6 +49,6 @@ class CRM_Core_PaymentTest extends CiviUnitTestCase {
 
     }
     $log = $this->callAPISuccess('SystemLog', 'get', array());
-    $this->assertEquals('payment_notification processor_name=Paypal', $log['values'][$log->id]['message']);
+    $this->assertEquals('payment_notification processor_name=Paypal', $log['values'][$log['id']]['message']);
   }
 }