Skip to content
Browse files

Removing getTests() and fixing failing test in accidentaly skipped te…

  • Loading branch information...
markstory committed Aug 28, 2011
1 parent fdc006a commit 27ab9093b5be7ca16192982d4f6640130d963421
Showing with 1 addition and 4 deletions.
  1. +1 −4 cake/tests/cases/libs/controller/scaffold.test.php
@@ -509,7 +509,7 @@ function testEditScaffold() {
new Scaffold($this->Controller, $params);
$result = ob_get_clean();
$this->assertPattern('/<form id="ScaffoldMockEditForm" method="post" action="\/scaffold_mock\/edit\/1"/', $result);
$this->assertPattern('/<form action="\/scaffold_mock\/edit\/1" id="ScaffoldMockEditForm" method="post"/', $result);
$this->assertPattern('/<legend>Edit Scaffold Mock<\/legend>/', $result);
$this->assertPattern('/input type="hidden" name="data\[ScaffoldMock\]\[id\]" value="1" id="ScaffoldMockId"/', $result);
@@ -770,9 +770,6 @@ function testScaffoldVariableSetting() {
$this->assertEqual($result['pluralVar'], 'scaffoldMock');
$this->assertEqual($result['scaffoldFields'], array('id', 'user_id', 'title', 'body', 'published', 'created', 'updated'));
function getTests() {
return array('start', 'startCase', 'testScaffoldChangingViewProperty', 'endCase', 'end');
* test that Scaffold overrides the view property even if its set to 'Theme'

0 comments on commit 27ab909

Please sign in to comment.
You can’t perform that action at this time.