mirror of
https://github.com/flextype/flextype.git
synced 2025-08-12 08:04:05 +02:00
feat(tests): add tests for Entries #477
This commit is contained in:
@@ -44,9 +44,10 @@ test('test fetch() method', function () {
|
||||
// 4
|
||||
flextype('entries')->create('foo', []);
|
||||
flextype('entries')->create('foo/bar', []);
|
||||
flextype('entries')->create('foo/baz', []);
|
||||
flextype('entries')->create('foo/baz', ['foo' => ['bar' => 'zed']]);
|
||||
$fetch = flextype('entries')->fetch('foo', true);
|
||||
$this->assertTrue(count($fetch) > 0);
|
||||
|
||||
});
|
||||
|
||||
test('test fetchSingle() method', function () {
|
||||
|
Reference in New Issue
Block a user