Skip to content

Commit

Permalink
Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Nov 7, 2017
1 parent 39598f7 commit a88b866
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public function testChange()
{
$yaml = Horde_Yaml::load($this->yaml);
$yaml['id'] = 'horde2';
$yaml['name'] = 'New Name';
$yaml['name'] = 'Horde2';
$yaml['full'] = 'New Name';
$yaml['description'] = 'New Description.';
$yaml['version']['release'] = '1.0.0';
$yaml['version']['api'] = '1.0.0';
Expand Down Expand Up @@ -91,7 +92,7 @@ public function testChange()
$xml = new Horde_Pear_Package_Xml($stream);
fclose($stream);
$this->assertEquals($yaml['id'], $xml->getName());
$this->assertEquals($yaml['name'], $xml->getSummary());
$this->assertEquals($yaml['full'], $xml->getSummary());
$this->assertEquals($yaml['description'], $xml->getDescription());
$this->assertEquals($yaml['version']['release'], $xml->getVersion());
$this->assertEquals(
Expand Down
1 change: 1 addition & 0 deletions test/Components/Unit/Components/Module/UpdateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public function testXmlCreation()
"---
id: basic
name: Basic
full: Basic
description:
type: library
authors:
Expand Down
3 changes: 2 additions & 1 deletion test/Components/fixture/horde_yml/.horde.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
id: horde
name: horde fixture.
name: Horde
full: horde fixture.
description: A dummy application used for testing the Components package.
list:
type: application
Expand Down

0 comments on commit a88b866

Please sign in to comment.