From fd15a707ee8ec0749c8b51b0b21683b946160096 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 6 Jan 2014 13:37:45 +0200 Subject: Remove redudant Loader tests for library() & driver() with no parameters --- tests/codeigniter/core/Loader_test.php | 6 ------ 1 file changed, 6 deletions(-) (limited to 'tests/codeigniter/core') diff --git a/tests/codeigniter/core/Loader_test.php b/tests/codeigniter/core/Loader_test.php index 9ad3ca6b9..8fbeaec7b 100644 --- a/tests/codeigniter/core/Loader_test.php +++ b/tests/codeigniter/core/Loader_test.php @@ -35,9 +35,6 @@ class Loader_test extends CI_TestCase { $this->assertTrue(class_exists($class), $class.' does not exist'); $this->assertAttributeInstanceOf($class, $lib, $this->ci_obj); - // Test no lib given - $this->assertNull($this->load->library()); - // Test a string given to params $this->assertNull($this->load->library($lib, ' ')); @@ -167,9 +164,6 @@ class Loader_test extends CI_TestCase { $this->assertNull($this->load->library($driver, NULL, $obj)); $this->assertAttributeInstanceOf($class, $obj, $this->ci_obj); - // Test no driver given - $this->assertFalse($this->load->driver()); - // Test a string given to params $this->assertNull($this->load->driver($driver, ' ')); } -- cgit v1.2.3-24-g4f1b