From eceebe3bedfd635c41ce2d849bcb32766d1e6cb9 Mon Sep 17 00:00:00 2001 From: Andrey Andreev Date: Mon, 15 Dec 2014 17:30:03 +0200 Subject: Remove minifier test --- tests/codeigniter/core/Output_test.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'tests/codeigniter/core/Output_test.php') diff --git a/tests/codeigniter/core/Output_test.php b/tests/codeigniter/core/Output_test.php index 0eeb93f7b..a06c17045 100644 --- a/tests/codeigniter/core/Output_test.php +++ b/tests/codeigniter/core/Output_test.php @@ -38,16 +38,6 @@ HTML; // -------------------------------------------------------------------- - public function test_minify() - { - $this->assertEquals( - str_replace(array("\t", "\n"), '', $this->_output_data), - $this->output->minify($this->_output_data) - ); - } - - // -------------------------------------------------------------------- - public function test_get_content_type() { $this->assertEquals('text/html', $this->output->get_content_type()); -- cgit v1.2.3-24-g4f1b From d24652d4ef8232fa6cfd675aa80d1e182073a220 Mon Sep 17 00:00:00 2001 From: Dan Bernardic Date: Sun, 11 Jan 2015 22:01:23 -0600 Subject: Added support for running unit tests on PHP 5.2 Signed-off-by: Dan Bernardic --- tests/codeigniter/core/Output_test.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'tests/codeigniter/core/Output_test.php') diff --git a/tests/codeigniter/core/Output_test.php b/tests/codeigniter/core/Output_test.php index a06c17045..887c077d7 100644 --- a/tests/codeigniter/core/Output_test.php +++ b/tests/codeigniter/core/Output_test.php @@ -3,19 +3,20 @@ class Output_test extends CI_TestCase { public $output; - protected $_output_data = << - - Basic HTML - - - Test - - -HTML; + protected $_output_data = ''; public function set_up() { + $this->_output_data =<< + + Basic HTML + + + Test + + +HTML; $this->ci_set_config('charset', 'UTF-8'); $output = $this->ci_core_class('output'); $this->output = new $output(); @@ -59,4 +60,4 @@ HTML; ); } -} \ No newline at end of file +} -- cgit v1.2.3-24-g4f1b