aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/templates/invalid
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-05-10 03:36:58 -0400
committerOleg Pudeyev <oleg@bsdpower.com>2012-05-10 03:36:58 -0400
commit56b2b87423c9afd62312fd36b5c2f6fff2d1d8a7 (patch)
tree2656b3c67fd75efe74f23e7898a3edf2f5e7333f /tests/template/templates/invalid
parent720d07c9b3942a103ceedc1996fb11e13c1bc2f0 (diff)
downloadforums-56b2b87423c9afd62312fd36b5c2f6fff2d1d8a7.tar
forums-56b2b87423c9afd62312fd36b5c2f6fff2d1d8a7.tar.gz
forums-56b2b87423c9afd62312fd36b5c2f6fff2d1d8a7.tar.bz2
forums-56b2b87423c9afd62312fd36b5c2f6fff2d1d8a7.tar.xz
forums-56b2b87423c9afd62312fd36b5c2f6fff2d1d8a7.zip
[ticket/10882] Add a test for including a nonexistent file.
PHPBB3-10882
Diffstat (limited to 'tests/template/templates/invalid')
-rw-r--r--tests/template/templates/invalid/include_nonexistent_file.html1
-rw-r--r--tests/template/templates/invalid/output/include_nonexistent_file.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/template/templates/invalid/include_nonexistent_file.html b/tests/template/templates/invalid/include_nonexistent_file.html
new file mode 100644
index 0000000000..617d2fdaaa
--- /dev/null
+++ b/tests/template/templates/invalid/include_nonexistent_file.html
@@ -0,0 +1 @@
+<!-- INCLUDE nonexistent.html -->
diff --git a/tests/template/templates/invalid/output/include_nonexistent_file.html b/tests/template/templates/invalid/output/include_nonexistent_file.html
new file mode 100644
index 0000000000..8a118d2713
--- /dev/null
+++ b/tests/template/templates/invalid/output/include_nonexistent_file.html
@@ -0,0 +1 @@
+style resource locator: File for handle nonexistent.html does not exist. Could not find: