From e5eeeafda457cf1e491b77371736245d3fa3d9e4 Mon Sep 17 00:00:00 2001 From: pratikshad Date: Wed, 8 Apr 2015 18:14:24 +0530 Subject: [PATCH] Revert assert value due to typo --- tests/phpunit/WebTest/Contribute/UpdateContributionTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php index 35dd1beb71..96f5994046 100755 --- a/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php +++ b/tests/phpunit/WebTest/Contribute/UpdateContributionTest.php @@ -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() { -- 2.25.1