Eric Barnes | 68286a4 | 2011-04-21 22:00:33 -0400 | [diff] [blame] | 1 | <?php |
| 2 | |
Taufan Aditya | e1dc9ea | 2012-03-28 16:49:49 +0700 | [diff] [blame] | 3 | class Xml_helper_test extends CI_TestCase { |
Eric Barnes | 68286a4 | 2011-04-21 22:00:33 -0400 | [diff] [blame] | 4 | |
Taufan Aditya | e1dc9ea | 2012-03-28 16:49:49 +0700 | [diff] [blame] | 5 | public function set_up() |
| 6 | { |
| 7 | $this->helper('xml'); |
| 8 | } |
Eric Barnes | 68286a4 | 2011-04-21 22:00:33 -0400 | [diff] [blame] | 9 | |
| 10 | public function test_xml_convert() |
| 11 | { |
| 12 | $this->assertEquals('<tag>my & test - </tag>', xml_convert('<tag>my & test - </tag>')); |
| 13 | } |
| 14 | |
| 15 | } |