mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/12812] Improve migrator config_text tool tests
PHPBB3-12812
This commit is contained in:
@@ -58,7 +58,7 @@ class phpbb_dbal_migrator_tool_config_text_test extends phpbb_database_test_case
|
||||
$this->config_text->set('foo', 'bar');
|
||||
|
||||
$this->tool->remove('foo');
|
||||
$this->assertTrue(is_null($this->config_text->get('foo')));
|
||||
$this->assertNull($this->config_text->get('foo'));
|
||||
}
|
||||
|
||||
public function test_reverse_add()
|
||||
@@ -66,7 +66,7 @@ class phpbb_dbal_migrator_tool_config_text_test extends phpbb_database_test_case
|
||||
$this->config_text->set('foo', 'bar');
|
||||
|
||||
$this->tool->reverse('add', 'foo');
|
||||
$this->assertTrue(is_null($this->config_text->get('foo')));
|
||||
$this->assertNull($this->config_text->get('foo'));
|
||||
}
|
||||
|
||||
public function test_reverse_remove()
|
||||
|
Reference in New Issue
Block a user