From 9ffd859830dd46ab7e2f70fbc3e48cbfb2d7c6aa Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 20 Jan 2019 18:14:51 +0100 Subject: [PATCH] Fix phpunit --- test/phpunit/AccountingAccountTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/phpunit/AccountingAccountTest.php b/test/phpunit/AccountingAccountTest.php index 4c86fb37db6..1997c96009e 100644 --- a/test/phpunit/AccountingAccountTest.php +++ b/test/phpunit/AccountingAccountTest.php @@ -44,7 +44,7 @@ $conf->global->MAIN_DISABLE_ALL_MAILS=1; * @backupStaticAttributes enabled * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased. */ -class AccountingAccountTest extends PHPUnit_Framework_TestCase +class AccountingAccountTest extends PHPUnit\Framework\TestCase { protected $savconf; protected $savuser; @@ -138,6 +138,7 @@ class AccountingAccountTest extends PHPUnit_Framework_TestCase $localobject->account_category = 0; $localobject->pcg_type = 'XXXXX'; $localobject->pcg_subtype = 'XXXXX'; + $localobject->account_number = '411123456'; $localobject->account_parent = 0; $localobject->label = 'Account specimen'; $localobject->active = 0;