From 5527044a00c7bdff1a3a6edfabdbe7583935bbaa Mon Sep 17 00:00:00 2001 From: Matt Friedman Date: Sun, 6 Jul 2014 08:13:20 -0700 Subject: [PATCH] [ticket/12812] Improve migrator config_text tool tests PHPBB3-12812 --- tests/dbal/migrator_tool_config_text_test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dbal/migrator_tool_config_text_test.php b/tests/dbal/migrator_tool_config_text_test.php index 7f9c076fe0..f832105e00 100644 --- a/tests/dbal/migrator_tool_config_text_test.php +++ b/tests/dbal/migrator_tool_config_text_test.php @@ -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()