git-subtree-dir: libraries/action-scheduler git-subtree-split: a95f351058eada5e5281faa22e5a40865542e839
34 lines
830 B
PHP
34 lines
830 B
PHP
<?php
|
|
|
|
use Action_Scheduler\Migration\Config;
|
|
|
|
/**
|
|
* Class Config_Test
|
|
* @group migration
|
|
*/
|
|
class Config_Test extends ActionScheduler_UnitTestCase {
|
|
public function test_source_store_required() {
|
|
$config = new Config();
|
|
$this->expectException( \RuntimeException::class );
|
|
$config->get_source_store();
|
|
}
|
|
|
|
public function test_source_logger_required() {
|
|
$config = new Config();
|
|
$this->expectException( \RuntimeException::class );
|
|
$config->get_source_logger();
|
|
}
|
|
|
|
public function test_destination_store_required() {
|
|
$config = new Config();
|
|
$this->expectException( \RuntimeException::class );
|
|
$config->get_destination_store();
|
|
}
|
|
|
|
public function test_destination_logger_required() {
|
|
$config = new Config();
|
|
$this->expectException( \RuntimeException::class );
|
|
$config->get_destination_logger();
|
|
}
|
|
}
|