Share PDO connection between Doctrine and legacy ORM

[MAILPOET-2014]
This commit is contained in:
Jan Jakeš
2019-07-18 15:40:15 +02:00
committed by M. Shull
parent a07043cfb4
commit 0045683d92
8 changed files with 41 additions and 130 deletions

View File

@ -84,6 +84,6 @@ class ModelTest extends \MailPoetTest {
}
function _after() {
\ORM::setDb(null);
\ORM::setDb($this->connection->getWrappedConnection());
}
}