Skip to content
Snippets Groups Projects
Commit fa53b9d4 authored by Sascha Löffler's avatar Sascha Löffler Committed by Christian Kuhn
Browse files

[TASK] Make ProcessedFileTest.php notice free

Resolves: #84333
Releases: master
Change-Id: I6a99c31dfd353e57ce2d762ff47745c8f884ee29
Reviewed-on: https://review.typo3.org/56210


Tested-by: default avatarTYPO3com <no-reply@typo3.com>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent 90adc03e
Branches
Tags
No related merge requests found
<?php
declare(strict_types = 1);
namespace TYPO3\CMS\Core\Tests\Unit\Resource;
/*
......@@ -18,17 +19,13 @@ use TYPO3\CMS\Core\Resource\File;
use TYPO3\CMS\Core\Resource\Folder;
use TYPO3\CMS\Core\Resource\ProcessedFile;
use TYPO3\CMS\Core\Resource\ResourceStorage;
use TYPO3\TestingFramework\Core\Unit\UnitTestCase;
/**
* Testcase for the ProcessedFile class of the TYPO3 FAL
*/
class ProcessedFileTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
class ProcessedFileTest extends UnitTestCase
{
/**
* Subject is not notice free, disable E_NOTICES
*/
protected static $suppressNotices = true;
/**
* @var \PHPUnit_Framework_MockObject_MockObject|Folder
*/
......@@ -62,6 +59,8 @@ class ProcessedFileTest extends \TYPO3\TestingFramework\Core\Unit\UnitTestCase
'identifier' => 'dummy.txt',
'name' => $this->getUniqueId('dummy_'),
'storage' => $this->storageMock->getUid(),
'configuration' => null,
'originalfilesha1' => null,
];
}
......
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