[BUGFIX] Warning in RecordCollectionRepositoryTest
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 2 Sep 2012 13:50:40 +0000 (15:50 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 2 Sep 2012 13:54:53 +0000 (15:54 +0200)
commita4b5292bf5f8b1f600a2bb14f94082ea42d77125
tree0b6fa3d9430cf6d98b526fc08d428fdd70ea9b95
parent2ec10d9799a3c27cedf772adbcb7a9aca1d7137a
[BUGFIX] Warning in RecordCollectionRepositoryTest

RecordCollectionRepository calls fullQuoteStr() on DataHandler class. The
class is mocked in the tests, so there is no real database link.
fullQuoteStr() expects the link to be a resource, though. Solution is to
mock this method, too.

Change-Id: Id568f9fcef6a8e07dfe8ee4abce8f60d4cebf152
Resolves: #40529
Releases: 6.0
Reviewed-on: http://review.typo3.org/14290
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Tests/Unit/Collection/RecordCollectionRepositoryTest.php