mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-28 14:56:23 +00:00

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.
18 lines
289 B
PHP
18 lines
289 B
PHP
<?php
|
|
App::uses('AppController', 'Controller');
|
|
/**
|
|
* Articles Controller
|
|
*
|
|
* @property Article $Article
|
|
* @property PaginatorComponent $Paginator
|
|
*/
|
|
class ArticlesController extends AppController {
|
|
|
|
/**
|
|
* Components
|
|
*
|
|
* @var array
|
|
*/
|
|
public $components = array('Paginator');
|
|
|
|
}
|