mirror of
https://github.com/silverstripe/silverstripe-subsites
synced 2024-10-22 11:05:55 +02:00
MINOR Fixed assertions in SubsiteTest (from r85449)
This commit is contained in:
parent
8378f60285
commit
3bde3f1f60
@ -101,8 +101,8 @@ class SubsiteTest extends SapphireTest {
|
||||
$this->assertEquals($this->idFromFixture('Subsite','domaintest2'),
|
||||
Subsite::getSubsiteIDForDomain('other.mysite.com'));
|
||||
|
||||
$this->assertNull(Subsite::getSubsiteIDForDomain('other.example.com'));
|
||||
$this->assertNull(Subsite::getSubsiteIDForDomain('two.example.com'));
|
||||
$this->assertEquals(0, Subsite::getSubsiteIDForDomain('other.example.com'));
|
||||
$this->assertEquals(0, Subsite::getSubsiteIDForDomain('two.example.com'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user