summaryrefslogtreecommitdiffstats
path: root/tests/codeigniter/helpers/xml_helper_test.php
blob: a83fef91eb69a13e52c3afeecd70492dcd3adf04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

class Xml_helper_test extends CI_TestCase {

	public function set_up()
	{
		$this->helper('xml');
	}
	
	public function test_xml_convert()
	{
		$this->assertEquals('&lt;tag&gt;my &amp; test &#45; &lt;/tag&gt;', xml_convert('<tag>my & test - </tag>'));
	}
	
}