Commit 773fa8eb authored by Tomas Norre Mikkelsen's avatar Tomas Norre Mikkelsen

[TASK] Added composer test:unit + fixed CheckForOutatedExtensionsTest

parent 6b088050
Pipeline #3411 failed with stages
in 10 seconds
......@@ -26,7 +26,7 @@ test:
- php -r "copy('https://getcomposer.org/composer.phar', 'composer.phar');"
- php composer.phar install
script:
- bin/phpunit -c .gitlab-ci/Tests/UnitTests.xml
- ./composer.phar test:unit
build:
......
......@@ -55,5 +55,11 @@
"html/typo3conf/ext/ter_fe2/Classes/",
"html/typo3conf/ext/ter/"
]
},
"scripts": {
"test:unit": [
"[ -e bin/phpunit ] || composer install",
"./bin/phpunit -c .gitlab-ci/Tests/UnitTests.xml"
]
}
}
......@@ -64,7 +64,7 @@ class CheckForOutdatedExtensionsTest extends \Nimut\TestingFramework\TestCase\Un
{
$this->subject = $this->getAccessibleMock(
\T3o\TerFe2\Task\CheckForOutdatedExtensions::class,
array('dummy')
['dummy'], [], '', false
);
}
......
Markdown is supported
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