Bug #25853
Functional tests for persistence are broken
Status: | Resolved | Start date: | 2011-04-08 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Karsten Dambekalns | % Done: | 100% |
|
Category: | - Testing - | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 beta 1 | |||
PHP Version: | Complexity: | |||
Has patch: | Affected Flow version: |
Description
When a database is configured globally it is used instead of the database configured in the FLOW3 package for Testing context.
If that is changed (by adding global configuration for Testing), the tests still fail due to tons of crap.
Related issues
Associated revisions
[!!!][BUGFIX] Make FunctionalTestCase usable for persistence tests
This change makes persistence tests usable with Doctrine (again).
It changes some important things: * enableTestablePersistence() has been removed * set the static property $testablePersistenceEnabled instead * persistence is now setup and torn down per testcase, not per test
See the adjusted tests for examples of needed adjustments.
Fixes: #25853
Change-Id: Ic714fe64af3fa25872a05b9f8e609ce2645c9c9f
History
#1 Updated by Mr. Hudson over 4 years ago
Patch set 1 of change Ic714fe64af3fa25872a05b9f8e609ce2645c9c9f has been pushed to the review server.
It is available at http://review.typo3.org/1518
#2 Updated by Karsten Dambekalns over 4 years ago
- Status changed from Accepted to Under Review
#3 Updated by Mr. Hudson over 4 years ago
Patch set 2 of change Ic714fe64af3fa25872a05b9f8e609ce2645c9c9f has been pushed to the review server.
It is available at http://review.typo3.org/1518
#4 Updated by Mr. Hudson over 4 years ago
Patch set 3 of change Ic714fe64af3fa25872a05b9f8e609ce2645c9c9f has been pushed to the review server.
It is available at http://review.typo3.org/1518
#5 Updated by Karsten Dambekalns over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset b8422bb442b9ae9fad69a83552e4759b9382492c.