diff options
author | RedMatrix <info@friendica.com> | 2014-12-31 10:43:19 +1100 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-12-31 10:43:19 +1100 |
commit | 4f35efa0bad4ae6489b63f3eebafe6542d654094 (patch) | |
tree | fdf7577c0b602a1f8b86401572e53cfe90cf2474 /library/intl/tests/Language/LanguageTest.php | |
parent | ae9d08267c632cae36a4ebd34c2077fd0051e0e7 (diff) | |
download | volse-hubzilla-4f35efa0bad4ae6489b63f3eebafe6542d654094.tar.gz volse-hubzilla-4f35efa0bad4ae6489b63f3eebafe6542d654094.tar.bz2 volse-hubzilla-4f35efa0bad4ae6489b63f3eebafe6542d654094.zip |
Revert "Language names via intl library."
Diffstat (limited to 'library/intl/tests/Language/LanguageTest.php')
-rw-r--r-- | library/intl/tests/Language/LanguageTest.php | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/library/intl/tests/Language/LanguageTest.php b/library/intl/tests/Language/LanguageTest.php deleted file mode 100644 index 037483c88..000000000 --- a/library/intl/tests/Language/LanguageTest.php +++ /dev/null @@ -1,53 +0,0 @@ -<?php - -namespace CommerceGuys\Intl\Tests\Language; - -use CommerceGuys\Intl\Language\Language; - -/** - * @coversDefaultClass \CommerceGuys\Intl\Language\Language - */ -class LanguageTest extends \PHPUnit_Framework_TestCase -{ - /** - * @var Language - */ - protected $language; - - public function setUp() - { - $this->language = new Language(); - } - - /** - * @covers ::getLanguageCode - * @covers ::setLanguageCode - * @covers ::__toString - */ - public function testLanguageCode() - { - $this->language->setLanguageCode('en'); - $this->assertEquals('en', $this->language->getLanguageCode()); - $this->assertEquals('en', (string) $this->language); - } - - /** - * @covers ::getName - * @covers ::setName - */ - public function testName() - { - $this->language->setName('English'); - $this->assertEquals('English', $this->language->getName()); - } - - /** - * @covers ::getLocale - * @covers ::setLocale - */ - public function testLocale() - { - $this->language->setLocale('en'); - $this->assertEquals('en', $this->language->getLocale()); - } -} |