diff --git a/Tests/Unit/Domain/Model/ExtractorTest.php b/Tests/Unit/Domain/Model/ExtractorTest.php index 39bba26..2ae13ca 100644 --- a/Tests/Unit/Domain/Model/ExtractorTest.php +++ b/Tests/Unit/Domain/Model/ExtractorTest.php @@ -23,7 +23,7 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Domain\Model; use DanielSiepmann\Tracking\Domain\Model\Extractor; use DanielSiepmann\Tracking\Domain\Model\HasUserAgent; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; use Prophecy\PhpUnit\ProphecyTrait; /** diff --git a/Tests/Unit/Domain/Model/PageviewTest.php b/Tests/Unit/Domain/Model/PageviewTest.php index 1dfa9ff..0b07929 100644 --- a/Tests/Unit/Domain/Model/PageviewTest.php +++ b/Tests/Unit/Domain/Model/PageviewTest.php @@ -22,7 +22,7 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Domain\Model; */ use DanielSiepmann\Tracking\Domain\Model\Pageview; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; use Prophecy\PhpUnit\ProphecyTrait; use TYPO3\CMS\Core\Site\Entity\SiteLanguage; diff --git a/Tests/Unit/Domain/Model/RecordRuleTest.php b/Tests/Unit/Domain/Model/RecordRuleTest.php index 3c2169a..c3f01b9 100644 --- a/Tests/Unit/Domain/Model/RecordRuleTest.php +++ b/Tests/Unit/Domain/Model/RecordRuleTest.php @@ -22,7 +22,7 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Domain\Model; */ use DanielSiepmann\Tracking\Domain\Model\RecordRule; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; /** * @covers DanielSiepmann\Tracking\Domain\Model\RecordRule diff --git a/Tests/Unit/Domain/Model/RecordviewTest.php b/Tests/Unit/Domain/Model/RecordviewTest.php index 5b6671c..465ea18 100644 --- a/Tests/Unit/Domain/Model/RecordviewTest.php +++ b/Tests/Unit/Domain/Model/RecordviewTest.php @@ -22,7 +22,7 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Domain\Model; */ use DanielSiepmann\Tracking\Domain\Model\Recordview; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; use Prophecy\PhpUnit\ProphecyTrait; use TYPO3\CMS\Core\Site\Entity\SiteLanguage; diff --git a/Tests/Unit/Domain/Pageview/FactoryTest.php b/Tests/Unit/Domain/Pageview/FactoryTest.php index 25b11f9..df5701d 100644 --- a/Tests/Unit/Domain/Pageview/FactoryTest.php +++ b/Tests/Unit/Domain/Pageview/FactoryTest.php @@ -23,7 +23,7 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Domain\Pageview; use DanielSiepmann\Tracking\Domain\Model\Pageview; use DanielSiepmann\Tracking\Domain\Pageview\Factory; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; use Prophecy\PhpUnit\ProphecyTrait; use Prophecy\Prophet; use Psr\Http\Message\ServerRequestInterface; diff --git a/Tests/Unit/Domain/Recordview/FactoryTest.php b/Tests/Unit/Domain/Recordview/FactoryTest.php index 81da698..973ce63 100644 --- a/Tests/Unit/Domain/Recordview/FactoryTest.php +++ b/Tests/Unit/Domain/Recordview/FactoryTest.php @@ -24,11 +24,11 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Domain\Recordview; use DanielSiepmann\Tracking\Domain\Model\RecordRule; use DanielSiepmann\Tracking\Domain\Model\Recordview; use DanielSiepmann\Tracking\Domain\Recordview\Factory; -use PHPUnit\Framework\TestCase; use Prophecy\PhpUnit\ProphecyTrait; use Psr\Http\Message\ServerRequestInterface; use TYPO3\CMS\Core\Routing\PageArguments; use TYPO3\CMS\Core\Site\Entity\SiteLanguage; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; /** * @covers DanielSiepmann\Tracking\Domain\Recordview\Factory diff --git a/Tests/Unit/Domain/Repository/PageviewTest.php b/Tests/Unit/Domain/Repository/PageviewTest.php index 392982b..0bab2b5 100644 --- a/Tests/Unit/Domain/Repository/PageviewTest.php +++ b/Tests/Unit/Domain/Repository/PageviewTest.php @@ -25,7 +25,7 @@ use DanielSiepmann\Tracking\Domain\Model\Pageview as Model; use DanielSiepmann\Tracking\Domain\Pageview\Factory; use DanielSiepmann\Tracking\Domain\Repository\Pageview; use Doctrine\DBAL\Statement; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; use Prophecy\PhpUnit\ProphecyTrait; use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Database\Query\QueryBuilder; diff --git a/Tests/Unit/Domain/Repository/RecordviewTest.php b/Tests/Unit/Domain/Repository/RecordviewTest.php index 1aced83..05e3f35 100644 --- a/Tests/Unit/Domain/Repository/RecordviewTest.php +++ b/Tests/Unit/Domain/Repository/RecordviewTest.php @@ -23,7 +23,7 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Domain\Repository; use DanielSiepmann\Tracking\Domain\Model\Recordview as Model; use DanielSiepmann\Tracking\Domain\Repository\Recordview; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; use Prophecy\PhpUnit\ProphecyTrait; use TYPO3\CMS\Core\Database\Connection; use TYPO3\CMS\Core\Site\Entity\SiteLanguage; diff --git a/Tests/Unit/Middleware/PageviewTest.php b/Tests/Unit/Middleware/PageviewTest.php index f686e96..d094fca 100644 --- a/Tests/Unit/Middleware/PageviewTest.php +++ b/Tests/Unit/Middleware/PageviewTest.php @@ -24,7 +24,7 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Middleware; use DanielSiepmann\Tracking\Domain\Model\Pageview as Model; use DanielSiepmann\Tracking\Domain\Repository\Pageview as Repository; use DanielSiepmann\Tracking\Middleware\Pageview; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; use Prophecy\Argument; use Prophecy\PhpUnit\ProphecyTrait; use Psr\Http\Message\ResponseInterface; diff --git a/Tests/Unit/Middleware/RecordviewTest.php b/Tests/Unit/Middleware/RecordviewTest.php index e14994c..d88a564 100644 --- a/Tests/Unit/Middleware/RecordviewTest.php +++ b/Tests/Unit/Middleware/RecordviewTest.php @@ -24,7 +24,7 @@ namespace DanielSiepmann\Tracking\Tests\Unit\Middleware; use DanielSiepmann\Tracking\Domain\Model\Recordview as Model; use DanielSiepmann\Tracking\Domain\Repository\Recordview as Repository; use DanielSiepmann\Tracking\Middleware\Recordview; -use PHPUnit\Framework\TestCase; +use TYPO3\TestingFramework\Core\Unit\UnitTestCase as TestCase; use Prophecy\Argument; use Prophecy\PhpUnit\ProphecyTrait; use Psr\Http\Message\ResponseInterface; diff --git a/composer.json b/composer.json index b7b5671..1d802b8 100644 --- a/composer.json +++ b/composer.json @@ -46,7 +46,7 @@ "jangregor/phpstan-prophecy": "^0.8.1", "maglnet/composer-require-checker": "^3.2", "phpspec/prophecy-phpunit": "^2.0", - "typo3/testing-framework": "^6.3", + "typo3/testing-framework": "^6.8.2", "saschaegerer/phpstan-typo3": "^0.13.1" }, "minimum-stability": "dev",