adding test case for a numeric value
This commit is contained in:
parent
b6b1bc5d09
commit
0e3dea7111
|
@ -59,4 +59,9 @@ class Test_L10n extends PHPUnit_Framework_TestCase {
|
|||
$l = new OC_L10N('test');
|
||||
$this->assertSame('February 13, 2009 23:31', $l->l('datetime', '1234567890'));
|
||||
}
|
||||
|
||||
public function testNumericToDateTime() {
|
||||
$l = new OC_L10N('test');
|
||||
$this->assertSame('February 13, 2009 23:31', $l->l('datetime', 1234567890));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue