summaryrefslogtreecommitdiff
path: root/tests/functional/test_user_tag_returns_nothing/Test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functional/test_user_tag_returns_nothing/Test.php')
-rw-r--r--tests/functional/test_user_tag_returns_nothing/Test.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/functional/test_user_tag_returns_nothing/Test.php b/tests/functional/test_user_tag_returns_nothing/Test.php
new file mode 100644
index 0000000..cd85908
--- /dev/null
+++ b/tests/functional/test_user_tag_returns_nothing/Test.php
@@ -0,0 +1,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__;
+ }
+}