Webtests Fix
authorRohan Katkar <rohan.katkar@webaccessglobal.com>
Tue, 30 Dec 2014 13:31:14 +0000 (19:01 +0530)
committerRohan Katkar <rohan.katkar@webaccessglobal.com>
Tue, 30 Dec 2014 13:31:14 +0000 (19:01 +0530)
tests/phpunit/WebTest/Financial/FinancialAccountTest.php

index 2ee4520afe37de6f7dc834f40caa4b53b4022d74..2eb97e26b3e0322a0349d35675c6c810a6ae2ff2 100644 (file)
@@ -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);