diff options
author | Andrey Andreev <narf@devilix.net> | 2015-01-12 11:26:25 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-01-12 11:26:25 +0100 |
commit | 50518a3887776b0b2b67f445cc0434017e9b71f6 (patch) | |
tree | 49e643932312cdceb89d9168ed582e21769d0ea7 /tests/codeigniter/core | |
parent | 942a1d87aecbee7ffc57e6eae19cf5e90688b8dc (diff) | |
parent | d24652d4ef8232fa6cfd675aa80d1e182073a220 (diff) |
Merge pull request #3468 from dbernar1/test-5.2
Added support for running unit tests on PHP 5.2
Diffstat (limited to 'tests/codeigniter/core')
-rw-r--r-- | tests/codeigniter/core/Output_test.php | 23 |
1 files changed, 12 insertions, 11 deletions
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 = <<<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(); @@ -59,4 +60,4 @@ HTML; ); } -}
\ No newline at end of file +} |