Skip to content

Commit

Permalink
[TASK] Fix failing test and clean up code
Browse files Browse the repository at this point in the history
  • Loading branch information
fsuter committed Nov 25, 2024
1 parent 7db4929 commit 9be4917
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions Build/phpunit/FunctionalTestsBootstrap.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* This file is part of the TYPO3 CMS project.
*
Expand Down
1 change: 1 addition & 0 deletions Build/phpunit/UnitTestsBootstrap.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
* This file is part of the TYPO3 CMS project.
*
Expand Down
12 changes: 12 additions & 0 deletions Tests/Unit/Event/DatamapPostprocessEventTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function setUp(): void
false
);
$this->subject = new DatamapPostprocessEvent(
[],
[],
$this->importer
);
Expand All @@ -63,6 +64,17 @@ public function getDataInitiallyReturnsEmptyArray(): void
);
}

/**
* @test
*/
public function getStructuredDataInitiallyReturnsEmptyArray(): void
{
self::assertSame(
[],
$this->subject->getStructuredData()
);
}

/**
* @test
*/
Expand Down

0 comments on commit 9be4917

Please sign in to comment.