Files
piratepoet/tests/integration/Config/MigratorTest.php
2019-01-31 14:51:07 +01:00

21 lines
458 B
PHP

<?php
namespace MailPoet\Test\Config;
use MailPoet\Config\Migrator;
class MigratorTest extends \MailPoetTest {
function _before() {
parent::_before();
$this->migrator = new Migrator();
}
function testItCanGenerateTheSubscribersSql() {
$subscriber_sql = $this->migrator->subscribers();
$expected_table = $this->migrator->prefix . 'subscribers';
expect($subscriber_sql)->contains($expected_table);
}
function _after() {
}
}