1
0
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:
rxu
2025-07-08 00:48:57 +07:00
parent 07b63fc6a8
commit d2202b7747
3 changed files with 84 additions and 59 deletions

View File

@@ -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
{

View File

@@ -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();
}
}