mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 05:25:47 +02:00
[ticket/11040] Topic is deleted if test is skipped
PHPBB3-11040
This commit is contained in:
@ -51,6 +51,7 @@ abstract class phpbb_functional_search_base extends phpbb_functional_test_case
|
|||||||
// check if search backend is not supported
|
// check if search backend is not supported
|
||||||
if ($crawler->filter('.errorbox')->count() > 0)
|
if ($crawler->filter('.errorbox')->count() > 0)
|
||||||
{
|
{
|
||||||
|
$this->delete_topic($post['topic_id']);
|
||||||
$this->markTestSkipped("Search backend is not supported/running");
|
$this->markTestSkipped("Search backend is not supported/running");
|
||||||
}
|
}
|
||||||
$this->create_search_index();
|
$this->create_search_index();
|
||||||
|
Reference in New Issue
Block a user