mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-01-13 23:18:10 +00:00
feat: add Liquid filter 'find_by'
This commit is contained in:
parent
6cd00943a1
commit
f4f8ab5181
4 changed files with 158 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ declare(strict_types=1);
|
|||
namespace Tests\Unit\Liquid;
|
||||
|
||||
use App\Liquid\FileSystems\InlineTemplatesFileSystem;
|
||||
use App\Liquid\Filters\Data;
|
||||
use App\Liquid\Tags\TemplateTag;
|
||||
use Keepsuit\Liquid\Environment;
|
||||
use Keepsuit\Liquid\Exceptions\LiquidException;
|
||||
|
|
@ -27,6 +28,7 @@ class InlineTemplatesTest extends TestCase
|
|||
);
|
||||
$this->environment->tagRegistry->register(TemplateTag::class);
|
||||
$this->environment->tagRegistry->register(RenderTag::class);
|
||||
$this->environment->filterRegistry->register(Data::class);
|
||||
}
|
||||
|
||||
public function test_template_tag_registers_template(): void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue