aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2014-06-22 18:47:23 +0200
committerJoas Schilling <nickvergessen@gmx.de>2014-06-22 19:31:40 +0200
commitdc7ed58bf5be6b3228389f414634f0a4116c6278 (patch)
tree3af983dd879eac98179638f36bd4d98e8cb28e3c /tests/test_framework
parent04164affe672be6feea676fd05cf9761bf2e477a (diff)
downloadforums-dc7ed58bf5be6b3228389f414634f0a4116c6278.tar
forums-dc7ed58bf5be6b3228389f414634f0a4116c6278.tar.gz
forums-dc7ed58bf5be6b3228389f414634f0a4116c6278.tar.bz2
forums-dc7ed58bf5be6b3228389f414634f0a4116c6278.tar.xz
forums-dc7ed58bf5be6b3228389f414634f0a4116c6278.zip
[ticket/12747] Remove some methods which are not used anymore
PHPBB3-12747
Diffstat (limited to 'tests/test_framework')
-rw-r--r--tests/test_framework/phpbb_database_test_case.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/test_framework/phpbb_database_test_case.php b/tests/test_framework/phpbb_database_test_case.php
index 4bbc6b6736..46276bcfcb 100644
--- a/tests/test_framework/phpbb_database_test_case.php
+++ b/tests/test_framework/phpbb_database_test_case.php
@@ -226,18 +226,6 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
return new phpbb_database_test_connection_manager($config);
}
- /**
- * Converts a match in the middle of a string to uppercase.
- *
- * @param $matches The array of matches from a regular expression
- *
- * @return string The string with the specified match converted to uppercase
- */
- static public function to_upper($matches)
- {
- return $matches[1] . strtoupper($matches[2]) . $matches[3];
- }
-
public function assert_array_content_equals($one, $two)
{
// http://stackoverflow.com/questions/3838288/phpunit-assert-two-arrays-are-equal-but-order-of-elements-not-important