mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-16 20:08:24 +00:00
703d9881e9
Writing assertContains() or assertRegExp for generated code is a pain and making the test cover most part of it is very difficult. Things like: ``` } else { } ``` Are very easy to happen (which was the case) and was not being covered by the test.
16 lines
191 B
PHP
16 lines
191 B
PHP
<?php
|
|
App::uses('AppController', 'Controller');
|
|
/**
|
|
* Articles Controller
|
|
*
|
|
*/
|
|
class ArticlesController extends AppController {
|
|
|
|
/**
|
|
* Scaffold
|
|
*
|
|
* @var mixed
|
|
*/
|
|
public $scaffold;
|
|
|
|
}
|