mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-25 13:22:16 +09:00
Remove trailing whitespace in all unit tests
This commit is contained in:
parent
37b0d3a1e6
commit
3b77781d15
40 changed files with 840 additions and 840 deletions
|
|
@ -16,7 +16,7 @@ class ModuleInfoParserTest extends \Codeception\TestCase\Test
|
|||
$this->assertEquals('service', $info->category);
|
||||
$this->assertEquals('GPLv2', $info->license);
|
||||
$this->assertEquals('https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html', $info->license_link);
|
||||
|
||||
|
||||
// Author array
|
||||
$this->assertTrue(is_array($info->author));
|
||||
$this->assertEquals('Rhymix 개발자', $info->author[0]->name);
|
||||
|
|
@ -25,14 +25,14 @@ class ModuleInfoParserTest extends \Codeception\TestCase\Test
|
|||
$this->assertEquals('다른 개발자', $info->author[1]->name);
|
||||
$this->assertEquals('other.developer@rhymix.org', $info->author[1]->email_address);
|
||||
$this->assertEquals('', $info->author[1]->homepage);
|
||||
|
||||
|
||||
// Change language
|
||||
Context::setLangType('en');
|
||||
$info = Rhymix\Framework\Parsers\ModuleInfoParser::loadXML(\RX_BASEDIR . 'tests/_data/module/info.xml');
|
||||
$this->assertEquals('Test Module', $info->title);
|
||||
$this->assertEquals('This module is for unit testing.', $info->description);
|
||||
$this->assertEquals('Rhymix Developer', $info->author[0]->name);
|
||||
|
||||
|
||||
// Index actions (from module.xml)
|
||||
$this->assertEquals('dispTestView', $info->default_index_act);
|
||||
$this->assertEquals('dispTestAdminIndex', $info->admin_index_act);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue