From 19a06fa39656eca1c3aa163225065ecc704e7d61 Mon Sep 17 00:00:00 2001
From: Bram Goffings <bramgoffings@gmail.com>
Date: Sun, 12 Aug 2012 20:44:52 +0200
Subject: [PATCH] access test fix

---
 lib/Drupal/views/Tests/AccessTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/Drupal/views/Tests/AccessTest.php b/lib/Drupal/views/Tests/AccessTest.php
index 599362ff104a..b8dfc7d9b091 100644
--- a/lib/Drupal/views/Tests/AccessTest.php
+++ b/lib/Drupal/views/Tests/AccessTest.php
@@ -178,7 +178,7 @@ function view_access_perm() {
 
     /* Display: Master */
     $handler = $view->new_display('default', 'Master', 'default');
-    $handler->display->display_options['access']['type'] = 'perm';
+    $handler->display->display_options['access']['type'] = 'permission';
     $handler->display->display_options['access']['perm'] = 'views_test test permission';
     $handler->display->display_options['cache']['type'] = 'none';
     $handler->display->display_options['exposed_form']['type'] = 'basic';
-- 
GitLab