Skip to content
Snippets Groups Projects
Commit fde89fdd authored by Christian Kuhn's avatar Christian Kuhn Committed by Philipp Gampe
Browse files

[BUGFIX] Test follow-up to #57152

Fix a failing unit test after change c23414d5

Change-Id: I427663a1a528b24a0e63d2fc9ed2a6371902a4f4
Resolves: #57159
Related: #57152
Releases: 6.2
Reviewed-on: https://review.typo3.org/28611
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
parent 7f14ac55
Branches
Tags
No related merge requests found
......@@ -160,7 +160,7 @@ class DirectoryNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
/**
* @test
*/
public function getStatusReturnsArrayWithErrorStatusIfDirectoryNotExists() {
public function getStatusReturnsArrayWithWarningStatusIfDirectoryNotExists() {
/** @var $node \TYPO3\CMS\Install\FolderStructure\DirectoryNode|\TYPO3\CMS\Core\Tests\AccessibleObjectInterface|\PHPUnit_Framework_MockObject_MockObject */
$node = $this->getAccessibleMock(
'TYPO3\\CMS\\Install\\FolderStructure\\DirectoryNode',
......@@ -178,7 +178,7 @@ class DirectoryNodeTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$statusArray = $node->getStatus();
/** @var $status \TYPO3\CMS\Install\Status\StatusInterface */
$status = $statusArray[0];
$this->assertInstanceOf('\TYPO3\CMS\Install\Status\ErrorStatus', $status);
$this->assertInstanceOf('\TYPO3\CMS\Install\Status\WarningStatus', $status);
}
/**
......
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