mirror of
https://github.com/flextype/flextype.git
synced 2025-08-08 14:16:46 +02:00
feat(tests): try to fix tests for php8 in entries fetch #477
This commit is contained in:
@@ -36,6 +36,8 @@ test('test fetch() entry', function () {
|
||||
flextype('registry')->set('flextype.settings.cache.enabled', false);
|
||||
dump(flextype('entries')->fetch('foo'));
|
||||
dump(flextype('entries')->fetch('foo'));
|
||||
$this->assertEquals(12, flextype('entries')->fetch('foo')->count());
|
||||
$this->assertEquals(12, flextype('entries')->fetch('foo', ['collection' => false])->count());
|
||||
flextype('registry')->set('flextype.settings.cache.enabled', true);
|
||||
//dump(flextype('entries')->fetch('foo', ['collection' => false]));
|
||||
|
||||
|
Reference in New Issue
Block a user