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:
@@ -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')"));
|
||||
});
|
||||
|
Reference in New Issue
Block a user