diff --git a/composer.json b/composer.json index 41864bfd..f5ec8def 100644 --- a/composer.json +++ b/composer.json @@ -50,7 +50,7 @@ }, "autoload-dev": { "psr-4": { - "PhpSpreadsheet\\Tests\\": "tests/PhpSpreadsheet" + "PhpSpreadsheetTests\\": "tests/PhpSpreadsheetTests" } } } diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 2843d1a5..52bbf2c7 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -8,7 +8,7 @@ - ./tests/PhpSpreadsheet + ./tests/PhpSpreadsheetTests diff --git a/tests/PhpSpreadsheet/Calculation/DateTimeTest.php b/tests/PhpSpreadsheetTests/Calculation/DateTimeTest.php similarity index 99% rename from tests/PhpSpreadsheet/Calculation/DateTimeTest.php rename to tests/PhpSpreadsheetTests/Calculation/DateTimeTest.php index 9a46cbda..6c72d6f8 100644 --- a/tests/PhpSpreadsheet/Calculation/DateTimeTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/DateTimeTest.php @@ -1,6 +1,6 @@ complexAssert = new \PhpSpreadsheet\Tests\Custom\ComplexAssert(); + $this->complexAssert = new \PhpSpreadsheetTests\Custom\ComplexAssert(); Functions::setCompatibilityMode(Functions::COMPATIBILITY_EXCEL); } diff --git a/tests/PhpSpreadsheet/Calculation/FinancialTest.php b/tests/PhpSpreadsheetTests/Calculation/FinancialTest.php similarity index 99% rename from tests/PhpSpreadsheet/Calculation/FinancialTest.php rename to tests/PhpSpreadsheetTests/Calculation/FinancialTest.php index 61b3752c..48c49b60 100644 --- a/tests/PhpSpreadsheet/Calculation/FinancialTest.php +++ b/tests/PhpSpreadsheetTests/Calculation/FinancialTest.php @@ -1,6 +1,6 @@