Add Idiorm to MailPoetVendor namespace
[MAILPOET-2545]
This commit is contained in:
committed by
Jack Kitterhing
parent
eb130c1aea
commit
60889c53f4
@ -8,6 +8,7 @@ use MailPoet\Models\Subscriber;
|
||||
use MailPoet\Models\SubscriberCustomField;
|
||||
use MailPoet\Subscribers\ImportExport\Export\DynamicSubscribersGetter;
|
||||
use MailPoet\WP\Functions as WPFunctions;
|
||||
use MailPoetVendor\Idiorm\ORM;
|
||||
|
||||
class DynamicSubscribersGetterTest extends \MailPoetTest {
|
||||
function _before() {
|
||||
@ -272,9 +273,9 @@ class DynamicSubscribersGetterTest extends \MailPoetTest {
|
||||
}
|
||||
|
||||
function _after() {
|
||||
\ORM::raw_execute('TRUNCATE ' . Subscriber::$_table);
|
||||
\ORM::raw_execute('TRUNCATE ' . Segment::$_table);
|
||||
\ORM::raw_execute('TRUNCATE ' . CustomField::$_table);
|
||||
\ORM::raw_execute('TRUNCATE ' . SubscriberCustomField::$_table);
|
||||
ORM::raw_execute('TRUNCATE ' . Subscriber::$_table);
|
||||
ORM::raw_execute('TRUNCATE ' . Segment::$_table);
|
||||
ORM::raw_execute('TRUNCATE ' . CustomField::$_table);
|
||||
ORM::raw_execute('TRUNCATE ' . SubscriberCustomField::$_table);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user