Skip to content

Commit

Permalink
Codacy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chrizzor committed Oct 9, 2024
1 parent b7b8bd3 commit 34192f4
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Tests/Functional/Controller/AudioPlayerControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function setUp(): void
public function canMainAction()
{
$_POST['tx_dlf'] = [
'id'=> 2001,
'id' => 2001,
];
$templateHtml = 'This template should be returned.';
$controller = $this->setUpController(AudioPlayerController::class, [], $templateHtml);
Expand Down
4 changes: 2 additions & 2 deletions Tests/Functional/Controller/CollectionControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@

class CollectionControllerTest extends AbstractControllerTest {

static array $databaseFixtures = [
private static array $databaseFixtures = [
__DIR__ . '/../../Fixtures/Controller/pages.csv',
__DIR__ . '/../../Fixtures/Controller/solrcores.csv'
];

static array $solrFixtures = [
private static array $solrFixtures = [
__DIR__ . '/../../Fixtures/Controller/documents.solr.json'
];

Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Controller/MetadataControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

class MetadataControllerTest extends AbstractControllerTest
{
static array $databaseFixtures = [
private static array $databaseFixtures = [
__DIR__ . '/../../Fixtures/Controller/documents.csv',
__DIR__ . '/../../Fixtures/Controller/pages.csv',
__DIR__ . '/../../Fixtures/Controller/solrcores.csv'
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Controller/PageGridControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

class PageGridControllerTest extends AbstractControllerTest
{
static array $databaseFixtures = [
private static array $databaseFixtures = [
__DIR__ . '/../../Fixtures/Controller/documents_local.csv',
__DIR__ . '/../../Fixtures/Controller/pages.csv',
__DIR__ . '/../../Fixtures/Controller/solrcores.csv'
Expand Down
2 changes: 1 addition & 1 deletion Tests/Functional/Controller/SearchControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public function canMainAction()
'ses_iplock' => '',
'ses_userid' => 0,
'ses_tstamp' => $currentTime,
'ses_data' => serialize(['foo' => 'bar']),
'ses_data' => 'a:1:{s:3:"foo";s:3:"bar";}',
'ses_permanent' => 0,
];
$userSessionToBePersisted = UserSession::createFromRecord($uniqueSessionId, $sessionRecord, true);
Expand Down
5 changes: 3 additions & 2 deletions Tests/Functional/Controller/StatisticsControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
use TYPO3\CMS\Core\Http\Response;
use TYPO3\CMS\Core\Localization\LanguageService;

class StatisticsControllerTest extends AbstractControllerTest {
class StatisticsControllerTest extends AbstractControllerTest
{

static array $databaseFixtures = [
private static array $databaseFixtures = [
__DIR__ . '/../../Fixtures/Controller/pages.csv',
__DIR__ . '/../../Fixtures/Controller/solrcores.csv',
__DIR__ . '/../../Fixtures/Controller/documents.csv'
Expand Down

0 comments on commit 34192f4

Please sign in to comment.