summaryrefslogtreecommitdiff
path: root/core/tests/Var_Test.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-23 04:36:09 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-23 04:36:09 +0000
commit5713e3c66ed8bab3b86490d7b6e90f7947d53429 (patch)
treee6a4f5e93dd15406c655c7b51d455c5181d3334c /core/tests/Var_Test.php
parent2502240ce4ad25e9fb60ee2468764e25346d2917 (diff)
Change photo::create() and album::create() to take ORM instances
instead of ids.
Diffstat (limited to 'core/tests/Var_Test.php')
-rw-r--r--core/tests/Var_Test.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/core/tests/Var_Test.php b/core/tests/Var_Test.php
index 272a39fa..e186a7c2 100644
--- a/core/tests/Var_Test.php
+++ b/core/tests/Var_Test.php
@@ -24,14 +24,5 @@ class Var_Test extends Unit_Test_Case {
module::set_var("core", "Parameter", "updated value");
$this->assert_equal("updated value", module::get_var("core", "Parameter"));
-
- module::set_var("core", "Parameter2", "new parameter");
- $core = module::get("core");
-
- $params = $core->vars->select_list("name", "value");
- $this->assert_false(empty($params["Parameter"]));
- $this->assert_equal("updated value", $params["Parameter"]);
- $this->assert_false(empty($params["Parameter2"]));
- $this->assert_equal("new parameter", $params["Parameter2"]);
}
} \ No newline at end of file