mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/17507] Fix column removal issues
PHPBB-17507
This commit is contained in:
@@ -134,7 +134,7 @@ abstract class phpbb_migration_test_base extends phpbb_database_test_case
|
||||
|
||||
protected function revert_migration()
|
||||
{
|
||||
while ($this->migrator->migration_state($this->migration_class))
|
||||
while ($this->migrator->migration_state($this->migration_class) !== false)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
@@ -69,5 +69,8 @@ class phpbb_migrations_remove_jabber_migration_test extends phpbb_migration_test
|
||||
$this->assertTrue($this->tools['permission']->exists('a_jabber'));
|
||||
$this->assertTrue($this->tools['permission']->exists('u_sendim'));
|
||||
$this->assertTrue($this->tools['module']->exists('acp', 'ACP_CLIENT_COMMUNICATION', 'ACP_JABBER_SETTINGS'));
|
||||
|
||||
// Apply migration back
|
||||
$this->apply_migration();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user