You are here

protected function DomainTestCase::domainResetBaseUrl in Domain Access 7.3

Resets $base_url to the initial domain.

1 call to DomainTestCase::domainResetBaseUrl()
DomainCacheTest::testDomainPageCache in tests/domain.test

File

tests/domain.test, line 132
Simpletest for Domain Access.

Class

DomainTestCase
@file Simpletest for Domain Access.

Code

protected function domainResetBaseUrl() {
  $domain = domain_initial_domain();
  $GLOBALS['base_url'] = $domain['path'];
}