summaryrefslogtreecommitdiff
path: root/tests/functional/test_user_tag_returns_nothing/Test.php
blob: cd85908e7b257fff5b75dfc4da3e90db97bed037 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php


namespace tests\functional\test_user_tag_returns_nothing;

use tests\functional\BaseTest;
use r7r\ste\STECore;

class Test extends BaseTest
{
    protected function setUpSte(STECore $ste): void
    {
        $ste->register_tag('foobar', function ($ste, $params, $sub) {
            // nop
        });
    }

    protected function getDirectory(): string
    {
        return __DIR__;
    }
}