Skip to content

Commit

Permalink
FIX Versioned regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensby committed Mar 26, 2018
1 parent 0fcde6c commit 67bb7e0
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/php/SubsiteAdminFunctionalTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@
class SubsiteAdminFunctionalTest extends FunctionalTest
{
protected static $fixture_file = 'SubsiteTest.yml';
protected static $use_draft_site = true;

protected $autoFollowRedirection = false;

protected function setUp()
{
parent::setUp();
// Ensure all pages are published
/** @var Page $page */
foreach (Page::get() as $page) {
$page->publishSingle();
}
}

/**
* Helper: FunctionalTest is only able to follow redirection once, we want to go all the way.
* @param string $url
Expand Down

0 comments on commit 67bb7e0

Please sign in to comment.