[Flow] Functional Test deletes Database and produces error this way

Christian Loock brainshack at gmail.com
Mon Mar 31 12:13:09 CEST 2014


Hello everybody,

I wrote a functional Test, that I want to use to test persistence.

However, it seems like the database is being deleted, everytime I call the
Test.

When I create the database manually it works for the first time I run the
test. After this, the DB gets deleted but not recreated. I also checked my
Database migrations, which all work fine.

I also set testablePersistenceEnabled to TRUE in my Test.

I run the Test like this:

phpunit -c Build/BuildEssentials/PhpUnit/FunctionalTests.xml --filter
MyUnitTest --colors --verbose

Any ideas whats wrong here?


More information about the Flow mailing list