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:
Mateusz Uzdowski 2010-04-21 04:48:03 +00:00 committed by Sam Minnee
parent f0677542a8
commit 9e8523fcf1

View File

@ -111,7 +111,7 @@ class ControllerTest extends FunctionalTest {
$controller = new ControllerTest_HasAction(); $controller = new ControllerTest_HasAction();
$this->assertFalse($controller->hasAction('1'), 'Numeric actions do not slip through.'); $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->assertFalse($controller->hasAction('undefined'), 'undefined actions do not exist');
$this->assertTrue($controller->hasAction('allowed_action'), 'allowed actions are recognised'); $this->assertTrue($controller->hasAction('allowed_action'), 'allowed actions are recognised');
$this->assertTrue($controller->hasAction('template_action'), 'action-specific templates 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 ( public static $allowed_actions = array (
'allowed_action', 'allowed_action',
'other_action' => 'lowercase_permission' //'other_action' => 'lowercase_permission'
); );
protected $templates = array ( protected $templates = array (