aboutsummaryrefslogtreecommitdiff
path: root/engine/tests
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-04-13 13:36:56 -0400
committercash <cash.costello@gmail.com>2013-04-13 13:36:56 -0400
commit5dd3d179f43b47231dab5dab5d5d9482a9810ef7 (patch)
tree8069c196294938fb6e0e4a3a1f5edd68714cf55e /engine/tests
parent25de363c7c89e04391bea72eaef0f5913cf485c0 (diff)
downloadelgg-5dd3d179f43b47231dab5dab5d5d9482a9810ef7.tar.gz
elgg-5dd3d179f43b47231dab5dab5d5d9482a9810ef7.tar.bz2
removed query cache reset from unit test of acl. If this is needed, is bug in elgg core
Diffstat (limited to 'engine/tests')
-rw-r--r--engine/tests/api/access_collections.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/engine/tests/api/access_collections.php b/engine/tests/api/access_collections.php
index ebcd7d318..4acfae596 100644
--- a/engine/tests/api/access_collections.php
+++ b/engine/tests/api/access_collections.php
@@ -54,7 +54,6 @@ class ElggCoreAccessCollectionsTest extends ElggCoreUnitTest {
}
public function testCreateGetDeleteACL() {
- global $DB_QUERY_CACHE;
$acl_name = 'test access collection';
$acl_id = create_access_collection($acl_name);
@@ -67,8 +66,6 @@ class ElggCoreAccessCollectionsTest extends ElggCoreUnitTest {
$this->assertEqual($acl->id, $acl_id);
if ($acl) {
- $DB_QUERY_CACHE = array();
-
$this->assertEqual($acl->name, $acl_name);
$result = delete_access_collection($acl_id);