Skip to content
Browse files

BUGFIX Added setup/teardown methods to SiteTreeBrokenLinksTest to mak…

…e it work with Translatable enabled

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@91033 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent e567b47 commit b3d4ca38ec2835095c6b2eafd3274298a2d28764 @chillu chillu committed
Showing with 12 additions and 0 deletions.
  1. +12 −0 tests/SiteTreeBrokenLinksTest.php
View
12 tests/SiteTreeBrokenLinksTest.php
@@ -5,6 +5,18 @@
*/
class SiteTreeBrokenLinksTest extends SapphireTest {
static $fixture_file = 'sapphire/tests/SiteTreeBrokenLinksTest.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 testBrokenLinksBetweenPages() {
$obj = $this->objFromFixture('Page','content');

0 comments on commit b3d4ca3

Please sign in to comment.
Something went wrong with that request. Please try again.