[FOLLOWUP][FEATURE] Ajax call to check if file already exists 09/41409/2
authorFrans Saris <franssaris@gmail.com>
Thu, 16 Jul 2015 09:09:16 +0000 (11:09 +0200)
committerSusanne Moog <typo3@susannemoog.de>
Thu, 16 Jul 2015 09:18:22 +0000 (11:18 +0200)
Adjusted unitTest to new result

Resolves: #67545
Releases: master
Change-Id: I59ba5613cd8be324b28c2ddc463e0ccb0e9fe8f0
Reviewed-on: http://review.typo3.org/41409
Reviewed-by: Susanne Moog <typo3@susannemoog.de>
Tested-by: Susanne Moog <typo3@susannemoog.de>
typo3/sysext/backend/Tests/Unit/Controller/File/FileControllerTest.php

index ad8eaca..974de84 100644 (file)
@@ -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);