[BUGFIX] Fix incomplete mocking in ResourceStorage test 08/17508/2
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:26:07 +0000 (18:26 +0100)
commit99b65274acf99794bad89ed03b713c01578d66fb
tree50f621b2ef8c1a2e6811acb1cab4dee2f5e30a19
parentf15b44853093dba350a50c4d901984f4e2e94c95
[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
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Tests/Unit/Resource/ResourceStorageTest.php