[TASK] Implement getDatabase to FunctionalTestCase 87/23187/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 18 Aug 2013 23:24:02 +0000 (01:24 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 18 Aug 2013 23:29:19 +0000 (01:29 +0200)
commitbfb23287c77712d1500f903a5785b617be75b815
tree1c9566dea24f17d07a577679b0120f247dfb762c
parenta60872da0551b5414ec14a3cbceae753f57af808
[TASK] Implement getDatabase to FunctionalTestCase

Fiddling with database records is a common use case in
functional tests. The patch implements a getDatabase()
method to FunctionalTestCase for easy IDE auto completion
and uses it in activated test cases.

Change-Id: I8900457ff1c31e1f1d731337be17431ccf89b379
Resolves: #51167
Releases: 6.2
Reviewed-on: https://review.typo3.org/23187
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Tests/Functional/DataHandling/DataHandlerTest.php
typo3/sysext/core/Tests/FunctionalTestCase.php
typo3/sysext/workspaces/Tests/Functional/DataHandling/DataHandlerTest.php