Browse Source

Compatibility with phpunit v6

Laurent Destailleur 6 years ago
parent
commit
3af4ad7fc3
64 changed files with 64 additions and 64 deletions
  1. 1 1
      test/phpunit/BOMTest.php
  2. 1 1
      test/phpunit/BankAccountTest.php
  3. 1 1
      test/phpunit/BonPrelevementTest.php
  4. 1 1
      test/phpunit/BuildDocTest.php
  5. 1 1
      test/phpunit/CMailFileTest.php
  6. 1 1
      test/phpunit/CategorieTest.php
  7. 1 1
      test/phpunit/ChargeSocialesTest.php
  8. 1 1
      test/phpunit/CodingPhpTest.php
  9. 1 1
      test/phpunit/CommandeFournisseurTest.php
  10. 1 1
      test/phpunit/CommandeTest.php
  11. 1 1
      test/phpunit/CommonObjectTest.php
  12. 1 1
      test/phpunit/CompanyBankAccountTest.php
  13. 1 1
      test/phpunit/CompanyLibTest.php
  14. 1 1
      test/phpunit/ContactTest.php
  15. 1 1
      test/phpunit/ContratTest.php
  16. 1 1
      test/phpunit/CoreTest.php
  17. 1 1
      test/phpunit/DateLibTest.php
  18. 1 1
      test/phpunit/DateLibTzFranceTest.php
  19. 1 1
      test/phpunit/DiscountTest.php
  20. 1 1
      test/phpunit/EntrepotTest.php
  21. 1 1
      test/phpunit/ExpenseReportTest.php
  22. 1 1
      test/phpunit/ExportTest.php
  23. 1 1
      test/phpunit/FactureFournisseurTest.php
  24. 1 1
      test/phpunit/FactureRecTest.php
  25. 1 1
      test/phpunit/FactureTest.php
  26. 1 1
      test/phpunit/FactureTestRounding.php
  27. 1 1
      test/phpunit/FichinterTest.php
  28. 1 1
      test/phpunit/FilesLibTest.php
  29. 1 1
      test/phpunit/FormAdminTest.php
  30. 1 1
      test/phpunit/Functions2LibTest.php
  31. 1 1
      test/phpunit/HolidayTest.php
  32. 1 1
      test/phpunit/ImagesLibTest.php
  33. 1 1
      test/phpunit/ImportTest.php
  34. 1 1
      test/phpunit/JsonLibTest.php
  35. 1 1
      test/phpunit/LangTest.php
  36. 1 1
      test/phpunit/LoanTest.php
  37. 1 1
      test/phpunit/MarginsLibTest.php
  38. 1 1
      test/phpunit/ModulesTest.php
  39. 1 1
      test/phpunit/MouvementStockTest.php
  40. 1 1
      test/phpunit/NumberingModulesTest.php
  41. 1 1
      test/phpunit/PaypalTest.php
  42. 1 1
      test/phpunit/PdfDocTest.php
  43. 1 1
      test/phpunit/PgsqlTest.php
  44. 1 1
      test/phpunit/PricesTest.php
  45. 1 1
      test/phpunit/ProductTest.php
  46. 1 1
      test/phpunit/ProjectTest.php
  47. 1 1
      test/phpunit/PropalTest.php
  48. 1 1
      test/phpunit/RestAPIDocumentTest.php
  49. 1 1
      test/phpunit/RestAPIUserTest.php
  50. 1 1
      test/phpunit/ScriptsTest.php
  51. 1 1
      test/phpunit/SecurityTest.php
  52. 1 1
      test/phpunit/SocieteTest.php
  53. 1 1
      test/phpunit/SupplierProposalTest.php
  54. 1 1
      test/phpunit/TicketTest.php
  55. 1 1
      test/phpunit/UserGroupTest.php
  56. 1 1
      test/phpunit/UserTest.php
  57. 1 1
      test/phpunit/UtilsTest.php
  58. 1 1
      test/phpunit/WebservicesInvoicesTest.php
  59. 1 1
      test/phpunit/WebservicesOrdersTest.php
  60. 1 1
      test/phpunit/WebservicesOtherTest.php
  61. 1 1
      test/phpunit/WebservicesProductsTest.php
  62. 1 1
      test/phpunit/WebservicesThirdpartyTest.php
  63. 1 1
      test/phpunit/WebservicesUserTest.php
  64. 1 1
      test/phpunit/XCalLibTest.php

+ 1 - 1
test/phpunit/BOMTest.php

@@ -28,7 +28,7 @@ namespace test\unit;
  * Class BillOfMaterialsTest
  * @package Testbillofmaterials
  */
-class BOMTest extends \PHPUnit_Framework_TestCase
+class BOMTest extends \PHPUnit\Framework\TestCase
 {
 	/**
 	 * Global test setup

+ 1 - 1
test/phpunit/BankAccountTest.php

@@ -46,7 +46,7 @@ $langs->load("main");
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class BankAccountTest extends PHPUnit_Framework_TestCase
+class BankAccountTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/BonPrelevementTest.php

@@ -47,7 +47,7 @@ $langs->load("main");
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class BonPrelevementTest extends PHPUnit_Framework_TestCase
+class BonPrelevementTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/BuildDocTest.php

@@ -74,7 +74,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 BuildDocTest extends PHPUnit_Framework_TestCase
+class BuildDocTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/CMailFileTest.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 CMailFileTest extends PHPUnit_Framework_TestCase
+class CMailFileTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/CategorieTest.php

@@ -45,7 +45,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 CategorieTest extends PHPUnit_Framework_TestCase
+class CategorieTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/ChargeSocialesTest.php

@@ -45,7 +45,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 ChargeSocialesTest extends PHPUnit_Framework_TestCase
+class ChargeSocialesTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/CodingPhpTest.php

@@ -57,7 +57,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 CodingPhpTest extends PHPUnit_Framework_TestCase
+class CodingPhpTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/CommandeFournisseurTest.php

@@ -46,7 +46,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 CommandeFournisseurTest extends PHPUnit_Framework_TestCase
+class CommandeFournisseurTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/CommandeTest.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 CommandeTest extends PHPUnit_Framework_TestCase
+class CommandeTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/CommonObjectTest.php

@@ -45,7 +45,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 CommonObjectTest extends PHPUnit_Framework_TestCase
+class CommonObjectTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/CompanyBankAccountTest.php

@@ -45,7 +45,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 CompanyBankAccountTest extends PHPUnit_Framework_TestCase
+class CompanyBankAccountTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/CompanyLibTest.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 CompanyLibTest extends PHPUnit_Framework_TestCase
+class CompanyLibTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/ContactTest.php

@@ -53,7 +53,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 ContactTest extends PHPUnit_Framework_TestCase
+class ContactTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/ContratTest.php

@@ -45,7 +45,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 ContratTest extends PHPUnit_Framework_TestCase
+class ContratTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/CoreTest.php

@@ -47,7 +47,7 @@ if (! defined("NOLOGIN"))        define("NOLOGIN", '1');       // If this page i
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class CoreTest extends PHPUnit_Framework_TestCase
+class CoreTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/DateLibTest.php

@@ -45,7 +45,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 DateLibTest extends PHPUnit_Framework_TestCase
+class DateLibTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/DateLibTzFranceTest.php

@@ -45,7 +45,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 DateLibTzFranceTest extends PHPUnit_Framework_TestCase
+class DateLibTzFranceTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/DiscountTest.php

@@ -45,7 +45,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 DiscountTest extends PHPUnit_Framework_TestCase
+class DiscountTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/EntrepotTest.php

@@ -45,7 +45,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 EntrepotTest extends PHPUnit_Framework_TestCase
+class EntrepotTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/ExpenseReportTest.php

@@ -45,7 +45,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 ExpenseReportTest extends PHPUnit_Framework_TestCase
+class ExpenseReportTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/ExportTest.php

@@ -49,7 +49,7 @@ if (! defined("NOLOGIN"))        define("NOLOGIN", '1');       // If this page i
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class ExportTest extends PHPUnit_Framework_TestCase
+class ExportTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/FactureFournisseurTest.php

@@ -46,7 +46,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 FactureFournisseurTest extends PHPUnit_Framework_TestCase
+class FactureFournisseurTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/FactureRecTest.php

@@ -46,7 +46,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 FactureRecTest extends PHPUnit_Framework_TestCase
+class FactureRecTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/FactureTest.php

@@ -45,7 +45,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 FactureTest extends PHPUnit_Framework_TestCase
+class FactureTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/FactureTestRounding.php

@@ -45,7 +45,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 FactureTestRounding extends PHPUnit_Framework_TestCase
+class FactureTestRounding extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/FichinterTest.php

@@ -45,7 +45,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 FichinterTest extends PHPUnit_Framework_TestCase
+class FichinterTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/FilesLibTest.php

@@ -46,7 +46,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 FilesLibTest extends PHPUnit_Framework_TestCase
+class FilesLibTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/FormAdminTest.php

@@ -45,7 +45,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 FormAdminTest extends PHPUnit_Framework_TestCase
+class FormAdminTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/Functions2LibTest.php

@@ -48,7 +48,7 @@ if (! defined("NOLOGIN"))        define("NOLOGIN", '1');       // If this page i
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class Functions2LibTest extends PHPUnit_Framework_TestCase
+class Functions2LibTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/HolidayTest.php

@@ -47,7 +47,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 HolidayTest extends PHPUnit_Framework_TestCase
+class HolidayTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/ImagesLibTest.php

@@ -46,7 +46,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 ImagesLibTest extends PHPUnit_Framework_TestCase
+class ImagesLibTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/ImportTest.php

@@ -47,7 +47,7 @@ if (! defined("NOLOGIN"))        define("NOLOGIN", '1');       // If this page i
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class ImportTest extends PHPUnit_Framework_TestCase
+class ImportTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/JsonLibTest.php

@@ -47,7 +47,7 @@ if (! defined("NOLOGIN"))        define("NOLOGIN", '1');       // If this page i
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class JsonLibTest extends PHPUnit_Framework_TestCase
+class JsonLibTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/LangTest.php

@@ -57,7 +57,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 LangTest extends PHPUnit_Framework_TestCase
+class LangTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/LoanTest.php

@@ -45,7 +45,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 LoanTest extends PHPUnit_Framework_TestCase
+class LoanTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/MarginsLibTest.php

@@ -45,7 +45,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 MarginsLibTest extends PHPUnit_Framework_TestCase
+class MarginsLibTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/ModulesTest.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 ModulesTest extends PHPUnit_Framework_TestCase
+class ModulesTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/MouvementStockTest.php

@@ -47,7 +47,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 MouvementStockTest extends PHPUnit_Framework_TestCase
+class MouvementStockTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/NumberingModulesTest.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 NumberingModulesTest extends PHPUnit_Framework_TestCase
+class NumberingModulesTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/PaypalTest.php

@@ -46,7 +46,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 PaypalTest extends PHPUnit_Framework_TestCase
+class PaypalTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/PdfDocTest.php

@@ -48,7 +48,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 PdfDocTest extends PHPUnit_Framework_TestCase
+class PdfDocTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/PgsqlTest.php

@@ -47,7 +47,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 PgsqlTest extends PHPUnit_Framework_TestCase
+class PgsqlTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/PricesTest.php

@@ -52,7 +52,7 @@ if (! empty($conf->global->MAIN_ROUNDING_RULE_TOT))
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class PricesTest extends PHPUnit_Framework_TestCase
+class PricesTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/ProductTest.php

@@ -45,7 +45,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 ProductTest extends PHPUnit_Framework_TestCase
+class ProductTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/ProjectTest.php

@@ -46,7 +46,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 ProjectTest extends PHPUnit_Framework_TestCase
+class ProjectTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/PropalTest.php

@@ -45,7 +45,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 PropalTest extends PHPUnit_Framework_TestCase
+class PropalTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/RestAPIDocumentTest.php

@@ -45,7 +45,7 @@ $conf->global->MAIN_UMASK = '0666';
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class RestAPIDocumentTest extends PHPUnit_Framework_TestCase
+class RestAPIDocumentTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/RestAPIUserTest.php

@@ -47,7 +47,7 @@ $conf->global->MAIN_UMASK='0666';
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class RestAPIUserTest extends PHPUnit_Framework_TestCase
+class RestAPIUserTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/ScriptsTest.php

@@ -57,7 +57,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 ScriptsTest extends PHPUnit_Framework_TestCase
+class ScriptsTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/SecurityTest.php

@@ -57,7 +57,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 SecurityTest extends PHPUnit_Framework_TestCase
+class SecurityTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/SocieteTest.php

@@ -45,7 +45,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 SocieteTest extends PHPUnit_Framework_TestCase
+class SocieteTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/SupplierProposalTest.php

@@ -48,7 +48,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 SupplierProposalTest extends PHPUnit_Framework_TestCase
+class SupplierProposalTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/TicketTest.php

@@ -45,7 +45,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 TicketTest extends PHPUnit_Framework_TestCase
+class TicketTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/UserGroupTest.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 UserGroupTest extends PHPUnit_Framework_TestCase
+class UserGroupTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/UserTest.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 UserTest extends PHPUnit_Framework_TestCase
+class UserTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/UtilsTest.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 UtilsTest extends PHPUnit_Framework_TestCase
+class UtilsTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/WebservicesInvoicesTest.php

@@ -49,7 +49,7 @@ $conf->global->MAIN_UMASK='0666';
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class WebservicesInvoicesTest extends PHPUnit_Framework_TestCase
+class WebservicesInvoicesTest extends PHPUnit\Framework\TestCase
 {
 	protected $savconf;
 	protected $savuser;

+ 1 - 1
test/phpunit/WebservicesOrdersTest.php

@@ -48,7 +48,7 @@ $conf->global->MAIN_UMASK='0666';
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class WebservicesOrdersTest extends PHPUnit_Framework_TestCase
+class WebservicesOrdersTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/WebservicesOtherTest.php

@@ -48,7 +48,7 @@ $conf->global->MAIN_UMASK='0666';
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class WebservicesOtherTest extends PHPUnit_Framework_TestCase
+class WebservicesOtherTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/WebservicesProductsTest.php

@@ -55,7 +55,7 @@ if (empty($conf->service->enabled))
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class WebservicesProductsTest extends PHPUnit_Framework_TestCase
+class WebservicesProductsTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/WebservicesThirdpartyTest.php

@@ -48,7 +48,7 @@ $conf->global->MAIN_UMASK='0666';
  * @backupStaticAttributes enabled
  * @remarks backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class WebservicesThirdpartyTest extends PHPUnit_Framework_TestCase
+class WebservicesThirdpartyTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/WebservicesUserTest.php

@@ -48,7 +48,7 @@ $conf->global->MAIN_UMASK='0666';
  * @backupStaticAttributes enabled
  * @remarks	backupGlobals must be disabled to have db,conf,user and lang not erased.
  */
-class WebservicesUserTest extends PHPUnit_Framework_TestCase
+class WebservicesUserTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;

+ 1 - 1
test/phpunit/XCalLibTest.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 XCalLibTest extends PHPUnit_Framework_TestCase
+class XCalLibTest extends PHPUnit\Framework\TestCase
 {
     protected $savconf;
     protected $savuser;