aboutsummaryrefslogtreecommitdiffstats
path: root/tests/search/postgres_test.php
diff options
context:
space:
mode:
authorOleg Pudeyev <oleg@bsdpower.com>2012-11-27 08:09:35 -0500
committerOleg Pudeyev <oleg@bsdpower.com>2012-11-27 08:49:06 -0500
commit04480ec4ae8435db37072cd976e7591a3abaafb9 (patch)
treea5600c66e27d6306d284191e57185e2a7b35c7c1 /tests/search/postgres_test.php
parent3ed4fc437e2a88638d705b8f4cab23eacf39fe3c (diff)
downloadforums-04480ec4ae8435db37072cd976e7591a3abaafb9.tar
forums-04480ec4ae8435db37072cd976e7591a3abaafb9.tar.gz
forums-04480ec4ae8435db37072cd976e7591a3abaafb9.tar.bz2
forums-04480ec4ae8435db37072cd976e7591a3abaafb9.tar.xz
forums-04480ec4ae8435db37072cd976e7591a3abaafb9.zip
[ticket/11174] Delete copy pasting.
PHPBB3-11174
Diffstat (limited to 'tests/search/postgres_test.php')
-rw-r--r--tests/search/postgres_test.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/search/postgres_test.php b/tests/search/postgres_test.php
index e20e6789b7..d3172c6457 100644
--- a/tests/search/postgres_test.php
+++ b/tests/search/postgres_test.php
@@ -138,18 +138,4 @@ class phpbb_search_postgres_test extends phpbb_database_test_case
}
$this->assert_array_content_equals($common, $this->search->get_common_words());
}
-
- public function assert_array_content_equals($one, $two)
- {
- if (sizeof(array_diff($one, $two)) || sizeof(array_diff($two, $one)))
- {
- // get a nice error message
- $this->assertEquals($one, $two);
- }
- else
- {
- // increase assertion count
- $this->assertTrue(true);
- }
- }
}