aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_processing/tickets_data/PHPBB3-3981.before.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/text_processing/tickets_data/PHPBB3-3981.before.php')
-rw-r--r--tests/text_processing/tickets_data/PHPBB3-3981.before.php21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/text_processing/tickets_data/PHPBB3-3981.before.php b/tests/text_processing/tickets_data/PHPBB3-3981.before.php
new file mode 100644
index 0000000000..1c326b52af
--- /dev/null
+++ b/tests/text_processing/tickets_data/PHPBB3-3981.before.php
@@ -0,0 +1,21 @@
+<?php
+/**
+*
+* This file is part of the phpBB Forum Software package.
+*
+* @copyright (c) phpBB Limited <https://www.phpbb.com>
+* @license GNU General Public License, version 2 (GPL-2.0)
+*
+* For full copyright and license information, please see
+* the docs/CREDITS.txt file.
+*
+*/
+
+function before_assert_phpbb3_3981($vars)
+{
+ if (!function_exists('idn_to_ascii'))
+ {
+ extract($vars);
+ $test->markTestSkipped('International URLs need idn_to_ascii()');
+ }
+}