TASK: Update to TYPO3 CMS 9.5 and PHPUnit 8.0
This commit is contained in:
parent
a507875d28
commit
37dc2c7821
3 changed files with 10 additions and 8 deletions
|
@ -40,7 +40,7 @@ class FrontendUserControllerTest extends TestCase
|
||||||
*/
|
*/
|
||||||
protected $viewMock;
|
protected $viewMock;
|
||||||
|
|
||||||
public function setUp()
|
public function setUp(): void
|
||||||
{
|
{
|
||||||
$this->subject = new FrontendUserController();
|
$this->subject = new FrontendUserController();
|
||||||
$this->viewMock = $this->getMockBuilder(ViewInterface::class)->getMock();
|
$this->viewMock = $this->getMockBuilder(ViewInterface::class)->getMock();
|
||||||
|
|
|
@ -15,15 +15,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"typo3/cms-core": "^8.7"
|
"typo3/cms-core": "^9.5",
|
||||||
|
"typo3/cms-extbase": "^9.5"
|
||||||
|
},
|
||||||
|
"require-dev": {
|
||||||
|
"phpunit/phpunit": "^8.0"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"typo3/cms": {
|
"typo3/cms": {
|
||||||
"web-dir": "web"
|
"web-dir": "web"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"require-dev": {
|
|
||||||
"phpunit/phpunit": "^6.5",
|
|
||||||
"infection/infection": "^0.9.0"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,8 +42,6 @@ Installation development dependencies using composer::
|
||||||
|
|
||||||
This also includes PHPUnit, see: composer.json
|
This also includes PHPUnit, see: composer.json
|
||||||
|
|
||||||
We use 6.x to support PHP 7.0.
|
|
||||||
|
|
||||||
Check installation::
|
Check installation::
|
||||||
|
|
||||||
./vendor/bin/phpunit --version
|
./vendor/bin/phpunit --version
|
||||||
|
@ -58,6 +56,10 @@ Links:
|
||||||
|
|
||||||
* https://packagist.org/packages/phpunit/phpunit
|
* https://packagist.org/packages/phpunit/phpunit
|
||||||
|
|
||||||
|
.. note::
|
||||||
|
|
||||||
|
The concrete PHPUnit version also depends on your current PHP Version.
|
||||||
|
|
||||||
Create first test
|
Create first test
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue