From 4e2bfed23c17929795f2082d6e77937170caeaa9 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sun, 13 Sep 2020 21:35:16 +0200 Subject: Turn our functional tests into PhpUnit tests --- .../test_short_for_additional_attribs/Test.php | 23 ++++++++++++++++++++++ .../test_short_for_additional_attribs/test.tpl | 5 +++++ .../test_short_for_additional_attribs/want | 5 +++++ 3 files changed, 33 insertions(+) create mode 100644 tests/functional/test_short_for_additional_attribs/Test.php create mode 100644 tests/functional/test_short_for_additional_attribs/test.tpl create mode 100644 tests/functional/test_short_for_additional_attribs/want (limited to 'tests/functional/test_short_for_additional_attribs') diff --git a/tests/functional/test_short_for_additional_attribs/Test.php b/tests/functional/test_short_for_additional_attribs/Test.php new file mode 100644 index 0000000..8099869 --- /dev/null +++ b/tests/functional/test_short_for_additional_attribs/Test.php @@ -0,0 +1,23 @@ +set_var_by_name("data", array( + array('content' => 'foo', 'foo' => true), + array('content' => 'bar', 'foo' => false), + array('content' => 'baz', 'foo' => false), + )); + } +} diff --git a/tests/functional/test_short_for_additional_attribs/test.tpl b/tests/functional/test_short_for_additional_attribs/test.tpl new file mode 100644 index 0000000..e6b30e4 --- /dev/null +++ b/tests/functional/test_short_for_additional_attribs/test.tpl @@ -0,0 +1,5 @@ + \ No newline at end of file diff --git a/tests/functional/test_short_for_additional_attribs/want b/tests/functional/test_short_for_additional_attribs/want new file mode 100644 index 0000000..c46d63f --- /dev/null +++ b/tests/functional/test_short_for_additional_attribs/want @@ -0,0 +1,5 @@ + -- cgit v1.2.3-70-g09d2