mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 18:46:11 +01:00

[TASK] Upgrade to PHPUnit 8.5 (#328)

Also upgrade to nimut/testing-framework 6.0.

This removes another blocker for running the tests with TYPO3 11LTS.

Fixes #326
This commit is contained in:
Oliver Klee 2021-11-03 01:15:21 +01:00 committed by GitHub
parent 19f3820d0d
commit 6616f79634
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -12,6 +12,7 @@ $rules = [
'@PHPUnit57Migration:risky' => true,
'@PHPUnit60Migration:risky' => true,
'@PHPUnit75Migration:risky' => true,
'@PHPUnit84Migration:risky' => true,
'align_multiline_comment' => true,
'array_indentation' => true,

View file

@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- Allow installations on TYPO3 11LTS
### Changed
- Upgrade to PHPUnit 8.5 (#328)
### Deprecated

View file

@ -48,7 +48,7 @@ class TeaControllerTest extends FunctionalTestCase
$responseContent = $this->getFrontendResponse(1)->getContent();
$teaTitle = 'Earl Grey';
self::assertContains($teaTitle, $responseContent);
self::assertStringContainsString($teaTitle, $responseContent);
}
/**

View file

@ -41,11 +41,11 @@
"helhum/typo3-composer-setup": "^0.5.7",
"helmich/typo3-typoscript-lint": "^2.5.2",
"jangregor/phpstan-prophecy": "^0.8.1",
"nimut/testing-framework": "^5.3.0",
"nimut/testing-framework": "^6.0.0",
"phpstan/extension-installer": "^1.1.0",
"phpstan/phpstan": "^0.12.98",
"phpstan/phpstan-phpunit": "^0.12.22",
"phpunit/phpunit": "^7.5.20",
"phpunit/phpunit": "^8.5.21",
"saschaegerer/phpstan-typo3": "^0.13.3",
"seld/jsonlint": "^1.8.3",
"squizlabs/php_codesniffer": "^3.6.1",