[BUGFIX] Fix incomplete mocking in ResourceStorage test 09/17509/3
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Jan 2013 17:24:51 +0000 (18:24 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Sun, 13 Jan 2013 17:28:26 +0000 (18:28 +0100)
commit6bd8f71d9b4e1e23348d4079076695bc11310a71
tree8977db959201738a41a8c7ec5046606474aab67c
parent8575f7baa938527ce58c65a3ca35cf9d0c258533
[BUGFIX] Fix incomplete mocking in ResourceStorage test

Due to a not mocked FileRepository object, a warning
is issued which leads to a failed test.

Add a FileRepository mock and clean up all usage
of the FileRepository in ResourceStorage.

Fixes: #44439
Releases: 6.0, 6.1

Change-Id: I214fce4635d452764bd9edc8e11f863bd76961a6
Reviewed-on: https://review.typo3.org/17508
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-on: https://review.typo3.org/17509
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php