Revert assert value due to typo
authorpratikshad <pratiksha.dubey@webaccess.co.in>
Wed, 8 Apr 2015 12:44:24 +0000 (18:14 +0530)
committerpratikshad <pratiksha.dubey@webaccess.co.in>
Wed, 8 Apr 2015 12:44:24 +0000 (18:14 +0530)
tests/phpunit/WebTest/Contribute/UpdateContributionTest.php

index 35dd1beb71855b6f81847fa30d765091e0a45bf3..96f59940469a98d4684a1708758630d2cbca9493 100755 (executable)
@@ -262,9 +262,9 @@ class WebTest_Contribute_UpdateContributionTest extends CiviSeleniumTestCase {
     $this->waitForAjaxContent();
     //Assertions
     $subtractedTotal = $this->_getPremiumActualCost($contId, NULL, 'Payment Processor Account');
-    $this->assertEquals($subtractedTotal, NULL, "Verify amount deleted from old account");
+    $this->assertEquals($subtractedTotal, -$amount, "Verify amount deleted from old account");
     $totalAmount = $this->_getPremiumActualCost($contId, NULL, 'Accounts Receivable');
-    $this->assertEquals($totalAmount, NULL, "Verify amount for newly inserted values");
+    $this->assertEquals($totalAmount, $amount, "Verify amount for newly inserted values");
   }
 
   public function testRefundContribution() {