SilverStripe\Subsites\Tests\SubsiteTest::testDomainProtocol
Tests that Subsite and SubsiteDomain both respect http protocol correctly
Signature
public function testDomainProtocol(string
$class,
string
$identifier,
bool
$currentIsSecure,
string
$expected )
Parameters
$class
—
string
- Fixture class name
$identifier
—
string
- Fixture identifier
$currentIsSecure
—
object
- Whether the current base URL should be secure
$expected
—
string
- The expected base URL for the subsite or subsite domain