1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-06 21:26:48 +02:00

feat(tests): upd tests for filesystem shortcode

This commit is contained in:
Awilum
2022-05-27 08:59:46 +03:00
parent bc5477bd57
commit 0d72580bbc

View File

@@ -16,5 +16,5 @@ afterEach(function (): void {
test('[filesystem] shortcode', function () {
$filesystem = filesystem();
$filesystem->file($this->tempDir . '/foo.txt')->put('Foo');
$this->assertEquals("Foo", parsers()->shortcodes()->parse("(filesystem get:'". $this->tempDir . "/foo.txt')"));
$this->assertEquals("Foo", parsers()->shortcodes()->parse("(filesystem get file:'". $this->tempDir . "/foo.txt')"));
});