summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/core/Output_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codeigniter/core/Output_test.php')
-rw-r--r--tests/codeigniter/core/Output_test.php33
1 files changed, 12 insertions, 21 deletions
diff --git a/tests/codeigniter/core/Output_test.php b/tests/codeigniter/core/Output_test.php
index 0eeb93f7b..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 = <<<HTML
-<html>
- <head>
- <title>Basic HTML</title>
- </head>
- <body>
- Test
- </body>
-</html>
-HTML;
+ protected $_output_data = '';
public function set_up()
{
+ $this->_output_data =<<<HTML
+ <html>
+ <head>
+ <title>Basic HTML</title>
+ </head>
+ <body>
+ Test
+ </body>
+ </html>
+HTML;
$this->ci_set_config('charset', 'UTF-8');
$output = $this->ci_core_class('output');
$this->output = new $output();
@@ -38,16 +39,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());
@@ -69,4 +60,4 @@ HTML;
);
}
-} \ No newline at end of file
+}