Files
piratepoet/tests/unit/API/SetupTest.php
Jonathan Labreuille 354d249e1d Moved current Router files to API
- updated Unit tests to reflect the change
2016-08-01 17:00:32 +02:00

23 lines
514 B
PHP

<?php
use \MailPoet\API
\Setup;
use \MailPoet\Models\Setting;
class SetupTest extends MailPoetTest {
function _before() {
Setting::setValue('signup_confirmation.enabled', false);
}
function testItCanReinstall() {
/*$router = new Setup();
$response = $router->reset();
expect($response['result'])->true();
$signup_confirmation = Setting::getValue('signup_confirmation.enabled');
expect($signup_confirmation)->true();*/
}
function _after() {
Setting::deleteMany();
}
}