@@ -49,7 +49,7 @@ abstract class TestCase extends BaseTestCase
*
* @var array|string|null
*/
- public $fixtures = null;
+ public $fixtures;
/**
* By default, all fixtures attached to this class will be truncated and reloaded after each test.
@@ -27,6 +27,16 @@ class PaginatorTest extends TestCase
use PaginatorTestTrait;
+ * fixtures property
+ *
+ * @var array
+ */
+ public $fixtures = [
+ 'core.Posts', 'core.Articles', 'core.ArticlesTags',
+ 'core.Authors', 'core.AuthorsTags', 'core.Tags'
+ ];
+
+ /**
* Don't load data for fixtures for all tests
* @var bool
@@ -23,15 +23,6 @@ use Cake\ORM\Entity;
trait PaginatorTestTrait
{
- /**
- * fixtures property
- *
- * @var array
- */
- public $fixtures = [
- 'core.Posts', 'core.Articles', 'core.ArticlesTags',
- 'core.Authors', 'core.AuthorsTags', 'core.Tags'
- ];
* @var \Cake\Datasource\Paginator