@@ -319,11 +319,11 @@ function testGetViewFilename() {
319
319
$ this ->assertEqual ($ result , $ expected );
320
320
321
321
$ result = $ ScaffoldView ->testGetFilename ('edit ' );
322
- $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs ' . DS . 'view ' . DS . 'scaffolds ' . DS . 'edit .ctp ' ;
322
+ $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs ' . DS . 'view ' . DS . 'scaffolds ' . DS . 'form .ctp ' ;
323
323
$ this ->assertEqual ($ result , $ expected );
324
324
325
325
$ result = $ ScaffoldView ->testGetFilename ('add ' );
326
- $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs ' . DS . 'view ' . DS . 'scaffolds ' . DS . 'edit .ctp ' ;
326
+ $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs ' . DS . 'view ' . DS . 'scaffolds ' . DS . 'form .ctp ' ;
327
327
$ this ->assertEqual ($ result , $ expected );
328
328
329
329
$ result = $ ScaffoldView ->testGetFilename ('view ' );
@@ -339,11 +339,11 @@ function testGetViewFilename() {
339
339
$ this ->assertEqual ($ result , $ expected );
340
340
341
341
$ result = $ ScaffoldView ->testGetFilename ('admin_edit ' );
342
- $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs ' . DS . 'view ' . DS . 'scaffolds ' . DS . 'edit .ctp ' ;
342
+ $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs ' . DS . 'view ' . DS . 'scaffolds ' . DS . 'form .ctp ' ;
343
343
$ this ->assertEqual ($ result , $ expected );
344
344
345
345
$ result = $ ScaffoldView ->testGetFilename ('admin_add ' );
346
- $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs ' . DS . 'view ' . DS . 'scaffolds ' . DS . 'edit .ctp ' ;
346
+ $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'libs ' . DS . 'view ' . DS . 'scaffolds ' . DS . 'form .ctp ' ;
347
347
$ this ->assertEqual ($ result , $ expected );
348
348
349
349
$ result = $ ScaffoldView ->testGetFilename ('error ' );
@@ -357,11 +357,11 @@ function testGetViewFilename() {
357
357
358
358
$ ScaffoldView = new TestScaffoldView ($ Controller );
359
359
$ result = $ ScaffoldView ->testGetFilename ('admin_edit ' );
360
- $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'tests ' . DS . 'test_app ' .DS . 'views ' . DS . 'posts ' . DS . 'scaffold.edit .ctp ' ;
360
+ $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'tests ' . DS . 'test_app ' .DS . 'views ' . DS . 'posts ' . DS . 'scaffold.form .ctp ' ;
361
361
$ this ->assertEqual ($ result , $ expected );
362
362
363
363
$ result = $ ScaffoldView ->testGetFilename ('edit ' );
364
- $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'tests ' . DS . 'test_app ' .DS . 'views ' . DS . 'posts ' . DS . 'scaffold.edit .ctp ' ;
364
+ $ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'tests ' . DS . 'test_app ' .DS . 'views ' . DS . 'posts ' . DS . 'scaffold.form .ctp ' ;
365
365
$ this ->assertEqual ($ result , $ expected );
366
366
367
367
$ Controller = new ScaffoldMockController ($ this ->request );
@@ -377,12 +377,12 @@ function testGetViewFilename() {
377
377
$ ScaffoldView = new TestScaffoldView ($ Controller );
378
378
$ result = $ ScaffoldView ->testGetFilename ('admin_add ' );
379
379
$ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'tests ' . DS . 'test_app ' . DS . 'plugins '
380
- . DS .'test_plugin ' . DS . 'views ' . DS . 'tests ' . DS . 'scaffold.edit .ctp ' ;
380
+ . DS .'test_plugin ' . DS . 'views ' . DS . 'tests ' . DS . 'scaffold.form .ctp ' ;
381
381
$ this ->assertEqual ($ result , $ expected );
382
382
383
383
$ result = $ ScaffoldView ->testGetFilename ('add ' );
384
384
$ expected = TEST_CAKE_CORE_INCLUDE_PATH . 'tests ' . DS . 'test_app ' . DS . 'plugins '
385
- . DS .'test_plugin ' . DS . 'views ' . DS . 'tests ' . DS . 'scaffold.edit .ctp ' ;
385
+ . DS .'test_plugin ' . DS . 'views ' . DS . 'tests ' . DS . 'scaffold.form .ctp ' ;
386
386
$ this ->assertEqual ($ result , $ expected );
387
387
388
388
Configure::write ('Routing.prefixes ' , $ _admin );
0 commit comments