Commit f7644084 authored by Wouter Wolters's avatar Wouter Wolters Committed by Christian Kuhn
Browse files

[TASK] Adapt UnitTests to changed property types in UnitTestCase

Adapt to a patch in typo3/testing-framework.

composer req --dev typo3/testing-framework:dev-main

Resolves: #96121
Releases: main
Change-Id: I59d6ecc92c70e75ecbb797de18110925942b8027
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72340


Tested-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Anja Leichsenring's avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 7741554a
......@@ -8213,12 +8213,12 @@
"source": {
"type": "git",
"url": "https://github.com/TYPO3/testing-framework.git",
"reference": "6e8bc19810f1760dd757a9197b0edc0af6ab39f9"
"reference": "e6ad4beaca4e982864c7de1da8746aed1e3f932b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/6e8bc19810f1760dd757a9197b0edc0af6ab39f9",
"reference": "6e8bc19810f1760dd757a9197b0edc0af6ab39f9",
"url": "https://api.github.com/repos/TYPO3/testing-framework/zipball/e6ad4beaca4e982864c7de1da8746aed1e3f932b",
"reference": "e6ad4beaca4e982864c7de1da8746aed1e3f932b",
"shasum": ""
},
"require": {
......@@ -8274,7 +8274,7 @@
"issues": "https://github.com/TYPO3/testing-framework/issues",
"source": "https://github.com/TYPO3/testing-framework/tree/main"
},
"time": "2021-11-27T12:47:48+00:00"
"time": "2021-11-30T09:50:17+00:00"
}
],
"aliases": [],
......
......@@ -39,7 +39,7 @@ class AdminPanelInitiatorTest extends UnitTestCase
/**
* @var bool Reset singletons created by subject
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @test
......
......@@ -38,7 +38,7 @@ class EditDocumentControllerTest extends UnitTestCase
/**
* @var bool
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @test
......
......@@ -39,7 +39,7 @@ class LoginControllerTest extends UnitTestCase
/**
* @var bool Reset singletons created by subject
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @var LoginController|MockObject|AccessibleObjectInterface
......
......@@ -30,7 +30,7 @@ class SiteResolvingTest extends UnitTestCase
{
use ProphecyTrait;
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @test
......
......@@ -38,7 +38,7 @@ class TcaGroupTest extends UnitTestCase
/**
* @var bool Reset singletons created by subject
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @test
......
......@@ -51,7 +51,7 @@ class TcaSelectTreeItemsTest extends UnitTestCase
/**
* @var bool Reset singletons created by subject
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* Setup a mock database connection with expectations for
......
......@@ -34,7 +34,7 @@ class InlineStackProcessorTest extends UnitTestCase
/**
* @var bool Reset singletons created by subject
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
public function setUp(): void
{
......
......@@ -44,7 +44,7 @@ class BackendUtilityTest extends UnitTestCase
/**
* @var bool
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
///////////////////////////////////////
// Tests concerning calcAge
......
......@@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
class ArrayBrowserTest extends UnitTestCase
{
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
///////////////////////////////
// Tests concerning depthKeys
......
......@@ -32,7 +32,7 @@ class BackendLayoutTest extends UnitTestCase
{
use ProphecyTrait;
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @test
......
......@@ -33,7 +33,7 @@ class AuthenticationServiceTest extends UnitTestCase
/**
* @var bool Reset singletons created by subject
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* Date provider for processLoginReturnsCorrectData
......
......@@ -28,7 +28,7 @@ class TotpTest extends UnitTestCase
{
protected string $secret;
protected int $timestamp = 1613652061;
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
protected function setUp(): void
{
......
......@@ -25,7 +25,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
*/
class AbstractBackendTest extends UnitTestCase
{
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @test
......
......@@ -32,7 +32,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
*/
class ApcuBackendTest extends UnitTestCase
{
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* Set up
......
......@@ -35,7 +35,7 @@ class FileBackendTest extends UnitTestCase
{
use ProphecyTrait;
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* Sets up this testcase
......
......@@ -27,7 +27,7 @@ use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
*/
class TransientMemoryBackendTest extends UnitTestCase
{
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @test
......
......@@ -35,7 +35,7 @@ class Typo3DatabaseBackendTest extends UnitTestCase
{
use ProphecyTrait;
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* @test
......
......@@ -64,7 +64,7 @@ class FlexFormToolsTest extends UnitTestCase
/**
* @var bool Reset singletons created by subject
*/
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
/**
* Set up
......
......@@ -32,7 +32,7 @@ class SiteConfigurationTest extends UnitTestCase
{
use ProphecyTrait;
protected $resetSingletonInstances = true;
protected bool $resetSingletonInstances = true;
protected ?SiteConfiguration $siteConfiguration;
......
Supports Markdown
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