Skip to content
Snippets Groups Projects
Commit b02b2a27 authored by Helmut Hummel's avatar Helmut Hummel
Browse files

[TASK] Create uploads folder on travis

Upload folder is missing, leading to test failures
after activation of warning to error conversion.
Create the folder during setup.

Additionally fix a warning in the FAL tests.

Releases: 6.0

Change-Id: I8762a7f2db07edf84294dccb0d9570434040534a
Reviewed-on: http://review.typo3.org/16096
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
parent 660c8e89
No related merge requests found
......@@ -28,6 +28,7 @@ before_script:
- mv build-environment/typo3conf .
- git clone git://git.typo3.org/TYPO3v4/Extensions/phpunit.git typo3conf/ext/phpunit/
- mkdir fileadmin
- mkdir uploads
- if [[ "$DB" == "mysql" ]]; then mysql -e "DROP DATABASE IF EXISTS typo3_test;" -uroot; fi
- if [[ "$DB" == "mysql" ]]; then mysql -e "create database IF NOT EXISTS typo3_test;" -uroot; fi
- if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/Introduction/typo3conf/ext/introduction/Resources/Private/Subpackages/Introduction/Database/introduction.sql; fi
......
......@@ -66,6 +66,7 @@ class LocalDriverTest extends \TYPO3\CMS\Core\Tests\Unit\Resource\BaseTestCase {
static public function tearDownAfterClass() {
foreach (self::$testDirs as $dir) {
chmod($dir, 0777);
\TYPO3\CMS\Core\Utility\GeneralUtility::rmdir($dir, TRUE);
}
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment