1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-09 14:46:53 +02:00

feat(tests): improve tests for FinderFilterHelper #477

This commit is contained in:
Awilum
2020-11-24 19:10:43 +03:00
parent 9850e46ad3
commit bb9f5eadc0

View File

@@ -13,10 +13,6 @@ afterEach(function (): void {
filesystem()->directory(PATH['project'] . '/entries')->delete();
});
test('test find() method', function () {
$this->assertInstanceOf(Finder::class, find());
});
test('test find_filter() method', function () {
$this->assertTrue(find_filter(PATH['project'] . '/entries')->hasResults());
$this->assertTrue(find_filter(PATH['project'] . '/entries', [])->hasResults());