REVERT: checked in not-yet-ready code by mistake, reverting (from r103251)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112129 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2010-10-13 03:39:36 +00:00
parent 51375f7cc6
commit 9f61d51635

View File

@ -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 (