diff --git a/tests/SiteTreeBacklinksTest.php b/tests/SiteTreeBacklinksTest.php index 641f5b91f..5426b460e 100644 --- a/tests/SiteTreeBacklinksTest.php +++ b/tests/SiteTreeBacklinksTest.php @@ -3,8 +3,21 @@ class SiteTreeBacklinksTest extends SapphireTest { static $fixture_file = "sapphire/tests/SiteTreeBacklinksTest.yml"; + static function set_up_once() { + SiteTreeTest::set_up_once(); + + parent::set_up_once(); + } + + static function tear_down_once() { + SiteTreeTest::tear_down_once(); + + parent::tear_down_once(); + } + function setUp() { parent::setUp(); + // Log in as admin so that we don't run into permission issues. That's not what we're // testing here. $this->logInWithPermssion('ADMIN');