blob: 49f49e1661ae48467706bf02c2f5fc58e4e060df [file] [log] [blame]
<?php
require_once(BASEPATH.'helpers/xml_helper.php');
class Xml_helper_test extends CI_TestCase
{
public function test_xml_convert()
{
$this->assertEquals('&lt;tag&gt;my &amp; test &#45; &lt;/tag&gt;', xml_convert('<tag>my & test - </tag>'));
}
}