MINOR: Fixed tests

This commit is contained in:
Sam Minnee 2009-05-13 22:44:55 +00:00
parent 7d3d498cb9
commit ae27dc25ff

View File

@ -105,13 +105,11 @@ class SubsiteTest extends SapphireTest {
); );
// @todo: Workaround because GroupSubsites->augmentSQL() is relying on session state // @todo: Workaround because GroupSubsites->augmentSQL() is relying on session state
Subsite::changeSubsite($subsite2); Subsite::changeSubsite(0);
$this->assertFalse( $this->assertFalse(
$mainpage->canEdit(), $mainpage->canEdit(),
'Members cant edit pages on the main site if they are not in a group allowing this' 'Members cant edit pages on the main site if they are not in a group allowing this'
); );
Subsite::changeSubsite(0);
} }
} }