From 3d08280026c5d6942ad9f7ad2d2ce9ad8fba680a Mon Sep 17 00:00:00 2001 From: Juanjo Menent <jmenent@2byte.es> Date: Thu, 23 Apr 2015 10:35:08 +0200 Subject: [PATCH] Fix test for es. testGetDefaultLocalTax --- test/phpunit/FunctionsLibTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/phpunit/FunctionsLibTest.php b/test/phpunit/FunctionsLibTest.php index 0f1969c9e6a..49400c119a5 100755 --- a/test/phpunit/FunctionsLibTest.php +++ b/test/phpunit/FunctionsLibTest.php @@ -1,5 +1,6 @@ <?php /* Copyright (C) 2010-2014 Laurent Destailleur <eldy@users.sourceforge.net> + * Copyright (C) 2015 Juanjo Menent <jmenent@2byte.es> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -853,7 +854,7 @@ class FunctionsLibTest extends PHPUnit_Framework_TestCase $vat1=get_default_localtax($companyes,$companyes,1,0); $vat2=get_default_localtax($companyes,$companyes,2,0); $this->assertEquals(5.2,$vat1); - $this->assertEquals(-21,$vat2); + $this->assertEquals(-19,$vat2); // Test RULE ES-IT $vat1=get_default_localtax($companyes,$companyit,1,0); -- GitLab