mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
REVERT: checked in not-yet-ready code by mistake, reverting
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@103251 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
f0677542a8
commit
9e8523fcf1
@ -111,7 +111,7 @@ class ControllerTest extends FunctionalTest {
|
||||
$controller = new ControllerTest_HasAction();
|
||||
|
||||
$this->assertFalse($controller->hasAction('1'), 'Numeric actions do not slip through.');
|
||||
$this->assertFalse($controller->hasAction('lowercase_permission'), 'Lowercase permission does not slip through.');
|
||||
//$this->assertFalse($controller->hasAction('lowercase_permission'), 'Lowercase permission does not slip through.');
|
||||
$this->assertFalse($controller->hasAction('undefined'), 'undefined actions do not exist');
|
||||
$this->assertTrue($controller->hasAction('allowed_action'), 'allowed actions are recognised');
|
||||
$this->assertTrue($controller->hasAction('template_action'), 'action-specific templates are recognised');
|
||||
@ -191,7 +191,7 @@ class ControllerTest_HasAction extends Controller {
|
||||
|
||||
public static $allowed_actions = array (
|
||||
'allowed_action',
|
||||
'other_action' => 'lowercase_permission'
|
||||
//'other_action' => 'lowercase_permission'
|
||||
);
|
||||
|
||||
protected $templates = array (
|
||||
|
Loading…
x
Reference in New Issue
Block a user