MINOR: Fixed tests

This commit is contained in:
Sam Minnee 2009-05-13 22:44:55 +00:00
parent 7d3d498cb9
commit ae27dc25ff
1 changed files with 1 additions and 3 deletions

View File

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