aboutsummaryrefslogtreecommitdiffstats
path: root/tests/config/db_test.php
diff options
context:
space:
mode:
authorErik Frèrejean <erikfrerejean@phpbb.com>2011-01-24 15:22:46 +0100
committerErik Frèrejean <erikfrerejean@phpbb.com>2011-04-18 12:28:47 +0200
commit7b1638c37f9de64a0f6f7c712a063c7ef0d6d4aa (patch)
treed23d399010899db46942df59aab14fb9303a9feb /tests/config/db_test.php
parent2f67ade05a426d41c95c146a86251d388c718b61 (diff)
downloadforums-7b1638c37f9de64a0f6f7c712a063c7ef0d6d4aa.tar
forums-7b1638c37f9de64a0f6f7c712a063c7ef0d6d4aa.tar.gz
forums-7b1638c37f9de64a0f6f7c712a063c7ef0d6d4aa.tar.bz2
forums-7b1638c37f9de64a0f6f7c712a063c7ef0d6d4aa.tar.xz
forums-7b1638c37f9de64a0f6f7c712a063c7ef0d6d4aa.zip
[ticket/10006] Tweak the tests a bit
PHPBB3-10006
Diffstat (limited to 'tests/config/db_test.php')
-rw-r--r--tests/config/db_test.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/config/db_test.php b/tests/config/db_test.php
index d37b31dbbd..aa3d40999a 100644
--- a/tests/config/db_test.php
+++ b/tests/config/db_test.php
@@ -129,7 +129,11 @@ class phpbb_config_db_test extends phpbb_database_test_case
public function test_delete()
{
$this->assertTrue(isset($this->config['foo']));
- $this->config->delete('foo', false);
+ $this->config->delete('foo');
$this->assertFalse(isset($this->config['foo']));
+
+ // re-read config and populate cache
+ $config2 = new phpbb_config_db($this->db, $this->cache, 'phpbb_config');
+ $this->cache->checkVarUnset($this, 'foo');
}
}