Squashed 'includes/lib/action-scheduler/' content from commit c82834771

git-subtree-dir: includes/lib/action-scheduler
git-subtree-split: c828347715e6c3318c8ab8b4fea2d87b31d51aac
This commit is contained in:
Yurii Nalivaiko
2024-09-03 12:28:53 +02:00
commit 797bc2fd98
160 changed files with 29030 additions and 0 deletions
+33
View File
@@ -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();
}
}