Skip to content

change API to allow lazy load DB connections#20

Open
esler wants to merge 1 commit intomainfrom
lazy-load-connections
Open

change API to allow lazy load DB connections#20
esler wants to merge 1 commit intomainfrom
lazy-load-connections

Conversation

@esler
Copy link
Contributor

@esler esler commented Jan 13, 2021

No description provided.

@esler esler requested a review from kambo-1st January 13, 2021 08:40
@esler
Copy link
Contributor Author

esler commented Jan 13, 2021

there's a problem

$ phpunit --stop-on-fail
PHPUnit 9.3.7 by Sebastian Bergmann and contributors.

E

Time: 00:00.080, Memory: 6.00 MB

There was 1 error:

1) IW\PHPUnit\DbFixtures\UsageOfDbFixturesTraitTest::testBds with data set "mysql" (PDO Object ())
PDOException: There is no active transaction

/Users/esler/iw/intraworlds/phpunit-db-fixtures/src/DbFixturesTrait.php:288
/Users/esler/iw/intraworlds/phpunit-db-fixtures/src/DbFixturesTrait.php:209
/Users/esler/iw/intraworlds/phpunit-db-fixtures/src/DbFixturesTrait.php:86
/Users/esler/iw/intraworlds/phpunit-db-fixtures/src/DbFixturesTrait.php:74

Table cleanup (TRUNCATE TABLE) will cause implicit commit. Any suggestions?

@esler esler force-pushed the lazy-load-connections branch 3 times, most recently from e0a1d20 to 6b0a7fc Compare January 13, 2021 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant