silverstripe-framework/tests/model/DBLocaleTest.php

12 lines
218 B
PHP
Raw Normal View History

<?php
/**
* @package sapphire
* @subpackage tests
*/
class DBLocaleTest extends SapphireTest {
function testNice() {
$l = DBField::create('DBLocale', 'de_DE');
$this->assertEquals($l->Nice(), 'German');
}
}
?>