Commit a18b5185 authored by Frans Saris's avatar Frans Saris Committed by Susanne Moog
Browse files

[FOLLOWUP][FEATURE] Ajax call to check if file already exists

Adjusted unitTest to new result

Resolves: #67545
Releases: master
Change-Id: I59ba5613cd8be324b28c2ddc463e0ccb0e9fe8f0
Reviewed-on: http://review.typo3.org/41409


Reviewed-by: default avatarSusanne Moog <typo3@susannemoog.de>
Tested-by: default avatarSusanne Moog <typo3@susannemoog.de>
parent 741c74e4
......@@ -74,7 +74,8 @@ class FileControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
array(
'id' => 'foo',
'date' => '29-11-73',
'iconClasses' => 't3-icon t3-icon-mimetypes t3-icon-mimetypes-text t3-icon-text-html'
'iconClasses' => 't3-icon t3-icon-mimetypes t3-icon-mimetypes-text t3-icon-text-html',
'thumbUrl' => ''
),
$this->fileController->_call('flattenResultDataValue', $this->fileResourceMock)
);
......@@ -156,7 +157,8 @@ class FileControllerTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
$result = array('upload' => array(array(
'id' => 'foo',
'date' => '29-11-73',
'iconClasses' => 't3-icon t3-icon-mimetypes t3-icon-mimetypes-text t3-icon-text-html'
'iconClasses' => 't3-icon t3-icon-mimetypes t3-icon-mimetypes-text t3-icon-text-html',
'thumbUrl' => ''
)));
$this->fileController->_set('fileProcessor', $this->mockFileProcessor);
$this->fileController->_set('fileData', $fileData);
......
Supports Markdown
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