From fbe9eec50bd4d184e8b53a3b56ba484058f58aa0 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Fri, 9 Sep 2011 10:33:43 +0200 Subject: [PATCH] MINOR Code formatting --- tests/SubsiteTest.php | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/tests/SubsiteTest.php b/tests/SubsiteTest.php index f4180e0..7d7b7e3 100644 --- a/tests/SubsiteTest.php +++ b/tests/SubsiteTest.php @@ -57,15 +57,25 @@ class SubsiteTest extends SapphireTest { * Confirm that domain lookup is working */ function testDomainLookup() { - $this->assertEquals($this->idFromFixture('Subsite','domaintest1'), - Subsite::getSubsiteIDForDomain('one.example.org')); - $this->assertEquals($this->idFromFixture('Subsite','domaintest1'), - Subsite::getSubsiteIDForDomain('one.localhost')); + $this->assertEquals( + $this->idFromFixture('Subsite','domaintest1'), + Subsite::getSubsiteIDForDomain('one.example.org') + ); + + $this->assertEquals( + $this->idFromFixture('Subsite','domaintest1'), + Subsite::getSubsiteIDForDomain('one.localhost') + ); - $this->assertEquals($this->idFromFixture('Subsite','domaintest2'), - Subsite::getSubsiteIDForDomain('two.mysite.com')); - $this->assertEquals($this->idFromFixture('Subsite','domaintest2'), - Subsite::getSubsiteIDForDomain('other.mysite.com')); + $this->assertEquals( + $this->idFromFixture('Subsite','domaintest2'), + Subsite::getSubsiteIDForDomain('two.mysite.com') + ); + + $this->assertEquals( + $this->idFromFixture('Subsite','domaintest2'), + Subsite::getSubsiteIDForDomain('other.mysite.com') + ); $this->assertEquals(0, Subsite::getSubsiteIDForDomain('other.example.com')); $this->assertEquals(0, Subsite::getSubsiteIDForDomain('two.example.com'));