From 7bbd89393a39b7117b5d6a2754a56a16fb468326 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Feb 2021 23:45:23 +0100 Subject: [PATCH 1/7] doxygen --- test/phpunit/AccountingAccountTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/AccountingAccountTest.php b/test/phpunit/AccountingAccountTest.php index ce67dc0b839..52efe3a0147 100644 --- a/test/phpunit/AccountingAccountTest.php +++ b/test/phpunit/AccountingAccountTest.php @@ -189,7 +189,7 @@ class AccountingAccountTest extends PHPUnit\Framework\TestCase /** * testAccountingAccountUpdate * - * @param Object $localobject AccountingAccount + * @param AccountingAccount $localobject AccountingAccount * @return int ID accounting account * * @depends testAccountingAccountFetch From 62bfb7342301853a4c5faa5531ee6466ac9a8947 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Feb 2021 23:46:26 +0100 Subject: [PATCH 2/7] Update ActionCommTest.php --- test/phpunit/ActionCommTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/ActionCommTest.php b/test/phpunit/ActionCommTest.php index db1ff5667ef..cb908416535 100644 --- a/test/phpunit/ActionCommTest.php +++ b/test/phpunit/ActionCommTest.php @@ -207,7 +207,7 @@ class ActionCommTest extends PHPUnit\Framework\TestCase /** * testActionCommUpdate * - * @param Object $localobject ActionComm + * @param ActionComm $localobject ActionComm * @return int Id action comm updated * * @depends testActionCommFetch From f1ce1ed9c8baed5565654cb424da379c0c4fa82c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Feb 2021 23:48:28 +0100 Subject: [PATCH 3/7] Update BankAccountTest.php --- test/phpunit/BankAccountTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/BankAccountTest.php b/test/phpunit/BankAccountTest.php index 0c43d2e53e8..3e229d3b41c 100644 --- a/test/phpunit/BankAccountTest.php +++ b/test/phpunit/BankAccountTest.php @@ -180,7 +180,7 @@ class BankAccountTest extends PHPUnit\Framework\TestCase /** * testBankAccountOther * - * @param Object $localobject Object contract + * @param Account $localobject Account * @return int * * @depends testBankAccountFetch From 763b8f071eee7fa4e6678d35cec2b2335305b762 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Feb 2021 23:50:40 +0100 Subject: [PATCH 4/7] Update CommandeFournisseurTest.php --- test/phpunit/CommandeFournisseurTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/phpunit/CommandeFournisseurTest.php b/test/phpunit/CommandeFournisseurTest.php index 4c26edcd644..28fc9b8daac 100644 --- a/test/phpunit/CommandeFournisseurTest.php +++ b/test/phpunit/CommandeFournisseurTest.php @@ -272,7 +272,7 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase /** * testCommandeFournisseurValid * - * @param Object $localobject Supplier order + * @param CommandeFournisseur $localobject Supplier order * @return CommandeFournisseur Supplier order * * @depends testCommandeFournisseurFetch @@ -296,7 +296,7 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase /** * testCommandeFournisseurApprove * - * @param Object $localobject Supplier order + * @param CommandeFournisseur $localobject Supplier order * @return CommandeFournisseur Supplier order * * @depends testCommandeFournisseurValid @@ -320,7 +320,7 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase /** * testCommandeFournisseurCancel * - * @param Object $localobject Supplier order + * @param CommandeFournisseur $localobject Supplier order * @return CommandeFournisseur Supplier order * * @depends testCommandeFournisseurApprove @@ -344,7 +344,7 @@ class CommandeFournisseurTest extends PHPUnit\Framework\TestCase /** * testCommandeFournisseurOther * - * @param Object $localobject Supplier order + * @param CommandeFournisseur $localobject Supplier order * @return int Id of purchase order * * @depends testCommandeFournisseurCancel From db8afec96ba241a0b618ae0845addc43c7e5a6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Feb 2021 23:51:49 +0100 Subject: [PATCH 5/7] Update CommandeTest.php --- test/phpunit/CommandeTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/phpunit/CommandeTest.php b/test/phpunit/CommandeTest.php index c735890b02e..4ab81d63524 100644 --- a/test/phpunit/CommandeTest.php +++ b/test/phpunit/CommandeTest.php @@ -180,7 +180,7 @@ class CommandeTest extends PHPUnit\Framework\TestCase /** * testCommandeUpdate * - * @param Object $localobject Commande + * @param Commande $localobject Commande * @return Commande * * @depends testCommandeFetch @@ -205,7 +205,7 @@ class CommandeTest extends PHPUnit\Framework\TestCase /** * testCommandeValid * - * @param Object $localobject Order + * @param Commande $localobject Order * @return Commande * * @depends testCommandeUpdate @@ -229,7 +229,7 @@ class CommandeTest extends PHPUnit\Framework\TestCase /** * testCommandeCancel * - * @param Object $localobject Order + * @param Commande $localobject Order * @return Commande * * @depends testCommandeValid @@ -253,7 +253,7 @@ class CommandeTest extends PHPUnit\Framework\TestCase /** * testCommandeOther * - * @param Object $localobject Order + * @param Commande $localobject Order * @return int Order id * * @depends testCommandeCancel From 9db3499aef3aca09753659e83e79bfec213fd3c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Feb 2021 23:52:53 +0100 Subject: [PATCH 6/7] Update CommonInvoiceTest.php --- test/phpunit/CommonInvoiceTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/phpunit/CommonInvoiceTest.php b/test/phpunit/CommonInvoiceTest.php index 9addda59cef..f4cfaefb809 100644 --- a/test/phpunit/CommonInvoiceTest.php +++ b/test/phpunit/CommonInvoiceTest.php @@ -17,7 +17,7 @@ */ /** - * \file test/phpunit/CommonObjectTest.php + * \file test/phpunit/CommonInvoiceTest.php * \ingroup test * \brief PHPUnit test * \remarks To run this script as CLI: phpunit filename.php From 4c17fefb95ecd78067b459ccf09a75a8ec1a2bb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Tue, 9 Feb 2021 23:54:53 +0100 Subject: [PATCH 7/7] Update CompanyBankAccountTest.php --- test/phpunit/CompanyBankAccountTest.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/phpunit/CompanyBankAccountTest.php b/test/phpunit/CompanyBankAccountTest.php index 17f6a9ccacf..8b78712209f 100644 --- a/test/phpunit/CompanyBankAccountTest.php +++ b/test/phpunit/CompanyBankAccountTest.php @@ -150,8 +150,8 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase /** * testCompanyBankAccountFetch * - * @param int $id Id of bank account - * @return Object Bank account object + * @param int $id Id of bank account + * @return CompanyBankAccount Bank account object * * @depends testCompanyBankAccountCreate * The depends says test is run only if previous is ok @@ -174,7 +174,7 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase /** * testCompanyBankAccountSetAsDefault * - * @param Object $localobject Bank account + * @param CompanyBankAccount $localobject Bank account * @return int * * @depends testCompanyBankAccountFetch @@ -196,7 +196,7 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase /** * testCompanyBankAccountUpdate * - * @param Object $localobject Bank account object + * @param CompanyBankAccount $localobject Bank account object * @return int * * @depends testCompanyBankAccountFetch @@ -221,7 +221,7 @@ class CompanyBankAccountTest extends PHPUnit\Framework\TestCase /** * testCompanyBankAccountOther * - * @param Object $localobject Bank account + * @param CompanyBankAccount $localobject Bank account * @return int * * @depends testCompanyBankAccountFetch