Skip to content

Commit

Permalink
Update for page cache is now a module
Browse files Browse the repository at this point in the history
  • Loading branch information
Berdir committed Apr 17, 2015
1 parent 0a78d52 commit 404401c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Tests/RedirectUITest.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,7 @@ public function testAutomaticRedirects() {
*/
function testRedirectLoop() {
// Redirect loop redirection only works when page caching is disabled.
$this->config('system.performance')
->set('cache.page.use_internal', FALSE)
->save();
\Drupal::service('module_installer')->uninstall(['page_cache']);

/** @var \Drupal\redirect\Entity\Redirect $redirect1 */
$redirect1 = $this->storage->create();
Expand Down

0 comments on commit 404401c

Please sign in to comment.