Skip to content

Commit

Permalink
fix: ECS
Browse files Browse the repository at this point in the history
  • Loading branch information
dhuf committed Sep 19, 2024
1 parent b86b721 commit 13dde2f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
4 changes: 2 additions & 2 deletions Tests/Functional/Frontend/AbstractProcessesMarkersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@

abstract class AbstractProcessesMarkersTest extends FunctionalTestCase
{
protected $testExtensionsToLoad = [
protected array $testExtensionsToLoad = [
'typo3conf/ext/variables',
];

protected $pathsToLinkInTestInstance = [
protected array $pathsToLinkInTestInstance = [
'typo3conf/ext/variables/Tests/Functional/Fixtures/Frontend/Sites/' => 'typo3conf/sites',
];

Expand Down
7 changes: 2 additions & 5 deletions Tests/Functional/Frontend/BreaksOnInvalidHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
class BreaksOnInvalidHookTest extends AbstractProcessesMarkersTest
{
protected $configurationToUseInTestInstance = [
protected array $configurationToUseInTestInstance = [
'EXTCONF' => [
'variables' => [
'postProcessMarkers' => [
Expand All @@ -40,10 +40,7 @@ class BreaksOnInvalidHookTest extends AbstractProcessesMarkersTest
],
];

/**
* @test
*/
public function throwsExceptionIfConfiguredClassDoesntImplementInterface(): void
public function testThrowsExceptionIfConfiguredClassDoesntImplementInterface(): void
{
$this->expectException(\RuntimeException::class);
$this->expectExceptionMessage('Sinso\Variables\Tests\Functional\Fixtures\Frontend\Hook\NotImplementingInterface does not implement Sinso\Variables\Hooks\MarkersProcessorInterface');
Expand Down
7 changes: 2 additions & 5 deletions Tests/Functional/Frontend/ProcessesMarkersHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
class ProcessesMarkersHookTest extends AbstractProcessesMarkersTest
{
protected $configurationToUseInTestInstance = [
protected array $configurationToUseInTestInstance = [
'EXTCONF' => [
'variables' => [
'postProcessMarkers' => [
Expand All @@ -40,10 +40,7 @@ class ProcessesMarkersHookTest extends AbstractProcessesMarkersTest
],
];

/**
* @test
*/
public function executesHookClass(): void
public function testExecutesHookClass(): void
{
$this->importDataSet('EXT:variables/Tests/Functional/Fixtures/Frontend/Marker.xml');

Expand Down

0 comments on commit 13dde2f

Please sign in to comment.