/var/www/vhosts/nabawater/vendor/codeception/base/tests/unit/Codeception
NameSizeModeActions
Command/-0775rm
Constraints/-0775rm
Coverage/-0775rm
Exception/-0775rm
Lib/-0775rm
Module/-0775rm
Step/-0775rm
Subscriber/-0775rm
Test/-0775rm
Util/-0775rm
ApplicationTest.php7310664editdlrm
ConfigurationTest.php22030664editdlrm
ModuleTest.php8490664editdlrm
ScenarioTest.php12780664editdlrm
StepTest.php52390664editdlrm
SuiteManagerTest.php44840664editdlrm
TestLoaderTest.php33750664editdlrm
Edit: /var/www/vhosts/nabawater/vendor/codeception/base/tests/unit/Codeception/ConfigurationTest.php (2203B)
config = \Codeception\Configuration::config(); } protected function tearDown() { \Codeception\Module\UniversalFramework::$includeInheritedActions = true; \Codeception\Module\UniversalFramework::$onlyActions = []; \Codeception\Module\UniversalFramework::$excludeActions = []; } /** * @group core */ public function testSuites() { $suites = \Codeception\Configuration::suites(); $this->assertContains('unit', $suites); $this->assertContains('cli', $suites); } /** * @group core */ public function testFunctionForStrippingClassNames() { $matches = array(); $this->assertEquals(1, preg_match('~\\\\?(\\w*?Helper)$~', '\\Codeception\\Module\\UserHelper', $matches)); $this->assertEquals('UserHelper', $matches[1]); $this->assertEquals(1, preg_match('~\\\\?(\\w*?Helper)$~', 'UserHelper', $matches)); $this->assertEquals('UserHelper', $matches[1]); } /** * @group core */ public function testModules() { $settings = array('modules' => array('enabled' => array('EmulateModuleHelper'))); $modules = \Codeception\Configuration::modules($settings); $this->assertContains('EmulateModuleHelper', $modules); $settings = array('modules' => array( 'enabled' => array('EmulateModuleHelper'), 'disabled' => array('EmulateModuleHelper'), )); $modules = \Codeception\Configuration::modules($settings); $this->assertNotContains('EmulateModuleHelper', $modules); } /** * @group core */ public function testDefaultCustomCommandConfig() { $defaultConfig = \Codeception\Configuration::$defaultConfig; $this->assertArrayHasKey('extensions', $defaultConfig); $commandsConfig = $defaultConfig['extensions']; $this->assertArrayHasKey('commands', $commandsConfig); $this->assertArrayHasKey('extends', $defaultConfig); $this->assertNull($defaultConfig['extends']); } }