mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13161] Check whether the schema exists, before deleting it
PHPBB3-13161
This commit is contained in:
parent
f6fc8c08a4
commit
1a04d15d4d
1 changed files with 5 additions and 1 deletions
|
@ -87,8 +87,12 @@ abstract class phpbb_database_test_case extends PHPUnit_Extensions_Database_Test
|
|||
}
|
||||
|
||||
static public function tearDownAfterClass()
|
||||
{
|
||||
if (file_exists(self::$install_schema_file))
|
||||
{
|
||||
unlink(self::$install_schema_file);
|
||||
}
|
||||
|
||||
parent::tearDownAfterClass();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue