[TASK] Removed unused code from tests 17/36617/3
authorWouter Wolters <typo3@wouterwolters.nl>
Mon, 2 Feb 2015 21:01:43 +0000 (22:01 +0100)
committerStefan Neufeind <typo3.neufeind@speedpartner.de>
Mon, 2 Feb 2015 21:22:24 +0000 (22:22 +0100)
Remove unused code in:

FileMountRepositoryTest
CategoryRepositoryTest

Resolves: #64772
Releases: master
Change-Id: Ic1386778d5a108bbbdfebf56933b6ba1cd2ffa68
Reviewed-on: http://review.typo3.org/36617
Reviewed-by: Göran Bodenschatz <coding@46halbe.de>
Reviewed-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Tested-by: Mathias Schreiber <mathias.schreiber@wmdb.de>
Reviewed-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
Tested-by: Stefan Neufeind <typo3.neufeind@speedpartner.de>
typo3/sysext/extbase/Tests/Unit/Domain/Repository/CategoryRepositoryTest.php
typo3/sysext/extbase/Tests/Unit/Domain/Repository/FileMountRepositoryTest.php

index 85cae86..4fc7c94 100644 (file)
@@ -19,15 +19,6 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Domain\Repository;
  */
 class CategoryRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
-       /**
-        * @var \TYPO3\CMS\Extbase\Domain\Repository\CategoryRepository
-        */
-       protected $fixture = NULL;
-
-       protected function setUp() {
-               $this->fixture = new \TYPO3\CMS\Extbase\Domain\Repository\CategoryRepository($this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class));
-       }
-
        /**
         * @test
         */
index 8108fec..8f04133 100644 (file)
@@ -19,15 +19,6 @@ namespace TYPO3\CMS\Extbase\Tests\Unit\Domain\Repository;
  */
 class FileMountRepositoryTest extends \TYPO3\CMS\Core\Tests\UnitTestCase {
 
-       /**
-        * @var \TYPO3\CMS\Extbase\Domain\Repository\FileMountRepository
-        */
-       protected $fixture = NULL;
-
-       protected function setUp() {
-               $this->fixture = new \TYPO3\CMS\Extbase\Domain\Repository\FileMountRepository($this->getMock(\TYPO3\CMS\Extbase\Object\ObjectManagerInterface::class));
-       }
-
        /**
         * @test
         */