From 1187b8835bf442a90e7d6c0eb332e977b5e219a7 Mon Sep 17 00:00:00 2001 From: Rohan Katkar Date: Tue, 30 Dec 2014 19:01:14 +0530 Subject: [PATCH] Webtests Fix --- tests/phpunit/WebTest/Financial/FinancialAccountTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/phpunit/WebTest/Financial/FinancialAccountTest.php b/tests/phpunit/WebTest/Financial/FinancialAccountTest.php index 2ee4520afe..2eb97e26b3 100644 --- a/tests/phpunit/WebTest/Financial/FinancialAccountTest.php +++ b/tests/phpunit/WebTest/Financial/FinancialAccountTest.php @@ -44,7 +44,7 @@ class WebTest_Financial_FinancialAccountTest extends CiviSeleniumTestCase { $financialAccountTitle = 'Financial Account '.substr(sha1(rand()), 0, 4); $financialAccountDescription = "{$financialAccountTitle} Description"; $accountingCode = 1033; - $financialAccountType = 'Expenses'; + $financialAccountType = 'Liability'; $taxDeductible = FALSE; $isActive = TRUE; $isTax = TRUE; @@ -92,7 +92,7 @@ class WebTest_Financial_FinancialAccountTest extends CiviSeleniumTestCase { $editfinancialAccount = $financialAccountTitle; $financialAccountTitle .= ' Edited'; $orgNameEdit = FALSE; - $financialAccountType = 'Revenue'; + $financialAccountType = 'Liability'; if ($orgNameEdit) { $orgNameEdit = 'NGO '.substr(sha1(rand()), 0, 7); -- 2.25.1