PHP Class Codeception\Module\WPLoaderTest

Inheritance: extends Codeception\Test\Unit
Show file Open project: lucatume/wp-browser

Protected Properties

Property Type Description
$backupGlobals
$config array
$moduleContainer Codeception\Lib\ModuleContainer
$tester UnitTester
$wp tad\WPBrowser\Adapters\WP

Public Methods

Method Description
it_should_allow_to_set_a_child_theme_passing_an_array_of_parent_child ( )
it_should_be_instantiatable ( )
it_should_not_switch_to_theme_if_not_set ( )
it_should_set_the_template_and_stylesheet_options_when_passed_a_theme_config_parameter ( )
it_should_switch_theme_to_just_stylesheet_if_no_template ( )
it_should_switch_to_theme_if_set ( )

Protected Methods

Method Description
_before ( )

Private Methods

Method Description
make_instance ( ) : WPLoader

Method Details

_before() protected method

protected _before ( )

it_should_allow_to_set_a_child_theme_passing_an_array_of_parent_child() public method

it_should_be_instantiatable() public method

it_should_not_switch_to_theme_if_not_set() public method

it_should_set_the_template_and_stylesheet_options_when_passed_a_theme_config_parameter() public method

it_should_switch_theme_to_just_stylesheet_if_no_template() public method

it_should_switch_to_theme_if_set() public method

Property Details

$backupGlobals protected property

protected $backupGlobals

$config protected property

protected array $config
return array

$moduleContainer protected property

protected ModuleContainer,Codeception\Lib $moduleContainer
return Codeception\Lib\ModuleContainer

$tester protected property

protected UnitTester $tester
return UnitTester

$wp protected property

protected WP,tad\WPBrowser\Adapters $wp
return tad\WPBrowser\Adapters\WP