diff --git a/.travis.yml b/.travis.yml index a0f1190..bbbf9a9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ matrix: - php: 7.1 env: DB=MYSQL PHPUNIT_COVERAGE_TEST=1 - php: 7.2 - env: DB=MYSQL PHPUNIT_TEST=1 SUBSITES=1 + env: DB=MYSQL PHPUNIT_TEST=1 before_script: - phpenv rehash @@ -21,7 +21,6 @@ before_script: - composer validate - if [[ $DB == "PGSQL" ]]; then composer require --no-update silverstripe/postgresql 2.0.x-dev; fi - - if [[ $SUBSITES ]]; then composer require --no-update silverstripe/subsites 2.0.x-dev; fi - composer install --prefer-dist --no-interaction --no-progress --no-suggest --optimize-autoloader --verbose --profile script: diff --git a/src/Jobs/GenerateCSVJob.php b/src/Jobs/GenerateCSVJob.php index 00374c4..29b049e 100644 --- a/src/Jobs/GenerateCSVJob.php +++ b/src/Jobs/GenerateCSVJob.php @@ -271,8 +271,8 @@ public function setup() /** * Normally Director::handleRequest will register an HTTPRequest service (when routing via frontend controllers). - * If that hasn't happened yet, we will register one instead (e.g. for unit testing, or when running from the command - * line). Also register a new controller if one hasn't been pushed yet. + * If that hasn't happened yet, we will register one instead (e.g. for unit testing, or when running from the + * command line). Also register a new controller if one hasn't been pushed yet. */ protected function initRequest() {