mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-16 05:03:33 +09:00
Merge commit '797bc2fd9811f86077e1aa3edd68593ab9dd5956' as 'includes/lib/action-scheduler'
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<?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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user