mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
BUGFIX Added setup/teardown methods to SiteTreeBrokenLinksTest? to make it work with Translatable enabled (merged from r91033)
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@91036 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
55680174df
commit
4a850fe00f
@ -6,6 +6,18 @@
|
|||||||
class SiteTreeBrokenLinksTest extends SapphireTest {
|
class SiteTreeBrokenLinksTest extends SapphireTest {
|
||||||
static $fixture_file = 'sapphire/tests/SiteTreeBrokenLinksTest.yml';
|
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() {
|
function testBrokenLinksBetweenPages() {
|
||||||
$obj = $this->objFromFixture('Page','content');
|
$obj = $this->objFromFixture('Page','content');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user