PHP Class Codeception\Module\WPDbTest

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

Public Methods

Method Description
it_should_be_instantiatable ( )
it_should_not_replace_domain_in_sites_and_blogs_table_if_domain_is_same ( )
it_should_not_replace_the_site_domain_if_home_is_not_set_in_dump ( )
it_should_not_replace_the_site_domain_if_site_domain_is_same ( )
it_should_replace_domain_in_sites_and_blogs_table_if_domain_is_not_same ( )
it_should_replace_http_schema_with_https ( )
it_should_replace_https_schema_with_http ( )
it_should_replace_the_site_domain_in_dump ( )

Protected Methods

Method Description
_after ( )
_before ( )

Private Methods

Method Description
make_instance ( ) : WPDb

Method Details

_after() protected method

protected _after ( )

_before() protected method

protected _before ( )

it_should_be_instantiatable() public method

it_should_not_replace_domain_in_sites_and_blogs_table_if_domain_is_same() public method

it_should_not_replace_the_site_domain_if_home_is_not_set_in_dump() public method

it_should_not_replace_the_site_domain_if_site_domain_is_same() public method

it_should_replace_domain_in_sites_and_blogs_table_if_domain_is_not_same() public method

it_should_replace_http_schema_with_https() public method

it_should_replace_https_schema_with_http() public method

it_should_replace_the_site_domain_in_dump() 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