From 5713e3c66ed8bab3b86490d7b6e90f7947d53429 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 23 Dec 2008 04:36:09 +0000 Subject: Change photo::create() and album::create() to take ORM instances instead of ids. --- core/tests/Var_Test.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'core/tests/Var_Test.php') 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 -- cgit v1.2.3