Closed chucky2305 closed 6 years ago
Documentation says:
PHPUnit will execute a TRUNCATE against all the tables you specified to reset their status to empty.
Now let's find out where to specify them. If you specify to drop none then you're good for now. Because your test drops them already.
This issue has been automatically marked as stale because it has not had activity within the last 60 days. It will be closed after 7 days if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity since it was marked as stale. Thank you for your contributions.
I have a makefile that looks like this:
My database is MsSQL. I have even tried to modify
vendor/phpunit/dbunit/src/Operation/Truncate.php
to execute$connection->getConnection()->query("EXEC sp_msforeachtable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'");
Before doing the
TRUNCATE TABLE mytable
.But i still get the following error:
Kind regards, Max