diff --git a/admin/release-appstarter b/admin/release-appstarter index 206d17287f30..87281c153693 100644 --- a/admin/release-appstarter +++ b/admin/release-appstarter @@ -12,7 +12,7 @@ git checkout $branch echo -e "${BOLD}Build the framework distributable${NORMAL}" echo -e "${BOLD}Copy the main files/folders...${NORMAL}" -releasable='app public writable README.md contributing.md env license.txt spark' +releasable='app public writable README.md contributing.md env license.txt spark tests/_support' for fff in $releasable ; do if [ -d "$fff" ] ; then rm -rf $fff diff --git a/admin/release-framework b/admin/release-framework index 50ec5f20646b..110da980eaa8 100644 --- a/admin/release-framework +++ b/admin/release-framework @@ -12,7 +12,7 @@ git checkout $branch echo -e "${BOLD}Build the framework distributable${NORMAL}" echo -e "${BOLD}Copy the main files/folders...${NORMAL}" -releasable='app docs public system writable contributing.md env license.txt spark' +releasable='app docs public system writable contributing.md env license.txt spark tests/_support' for fff in $releasable ; do if [ -d "$fff" ] ; then rm -rf $fff diff --git a/admin/starter/phpunit.xml.dist b/admin/starter/phpunit.xml.dist new file mode 100644 index 000000000000..73d51ffc8dee --- /dev/null +++ b/admin/starter/phpunit.xml.dist @@ -0,0 +1,28 @@ + + + + + ./tests + ./tests/system + + + + + + ./system + + ./system + + + + + diff --git a/tests/_support/Helpers/ControllerResponse.php b/system/Test/ControllerResponse.php similarity index 62% rename from tests/_support/Helpers/ControllerResponse.php rename to system/Test/ControllerResponse.php index 4c64a524a002..393fb879c01c 100644 --- a/tests/_support/Helpers/ControllerResponse.php +++ b/system/Test/ControllerResponse.php @@ -1,6 +1,41 @@ -assertEquals(SUPPORTPATH . 'Helpers/', set_realpath(SUPPORTPATH . 'Files/../Helpers', true)); + $this->assertEquals(SUPPORTPATH . 'Models/', set_realpath(SUPPORTPATH . 'Files/../Models', true)); } } diff --git a/tests/system/Test/DOMParserTest.php b/tests/system/Test/DOMParserTest.php index 07c42c20f692..8bd9b1479b52 100644 --- a/tests/system/Test/DOMParserTest.php +++ b/tests/system/Test/DOMParserTest.php @@ -1,7 +1,5 @@