aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functional/search
diff options
context:
space:
mode:
authorDhruv <dhruv.goel92@gmail.com>2014-03-10 02:20:29 +0530
committerDhruv <dhruv.goel92@gmail.com>2014-03-12 11:03:33 +0530
commit6918921d53da75bf1b77dcbffff10e8dc574fbdb (patch)
tree3424d91074c1331c02305f1e2c1dcb8cf728e9db /tests/functional/search
parent3d1d25a122399bb218451cc4ed63ac0f2d2a02bb (diff)
downloadforums-6918921d53da75bf1b77dcbffff10e8dc574fbdb.tar
forums-6918921d53da75bf1b77dcbffff10e8dc574fbdb.tar.gz
forums-6918921d53da75bf1b77dcbffff10e8dc574fbdb.tar.bz2
forums-6918921d53da75bf1b77dcbffff10e8dc574fbdb.tar.xz
forums-6918921d53da75bf1b77dcbffff10e8dc574fbdb.zip
[ticket/11040] Topic is deleted if test is skipped
PHPBB3-11040
Diffstat (limited to 'tests/functional/search')
-rw-r--r--tests/functional/search/base.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional/search/base.php b/tests/functional/search/base.php
index d377181f4a..0bd9bf01ab 100644
--- a/tests/functional/search/base.php
+++ b/tests/functional/search/base.php
@@ -51,6 +51,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
// check if search backend is not supported
if ($crawler->filter('.errorbox')->count() > 0)
{
+ $this->delete_topic($post['topic_id']);
$this->markTestSkipped("Search backend is not supported/running");
}
$this->create_search_index();