Skip to content

Commit

Permalink
Make test more portable.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Apr 1, 2014
1 parent b7482a5 commit b433ce0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Expand Up @@ -68,6 +68,7 @@ public function testStore()
'/<creation-date>[^<]*/',
'/<last-modification-date>[^<]*/',
'/\r\n/',
'/=\n/',
),
array(
' ',
Expand All @@ -77,6 +78,7 @@ public function testStore()
'<creation-date>',
'<last-modification-date>',
"\n",
'',
),
$result
);
Expand Down Expand Up @@ -114,8 +116,7 @@ public function testStore()
<creation-date></creation-date>
<last-modification-date></last-modification-date>
<sensitivity>public</sensitivity>
<product-id>Horde_Kolab_Format_Xml-@version@ (api version: 2)</=
product-id>
<product-id>Horde_Kolab_Format_Xml-@version@ (api version: 2)</product-id>
<summary>NEW</summary>
<x-test>other client</x-test>
<background-color>#000000</background-color>
Expand Down
Expand Up @@ -67,6 +67,7 @@ public function testStore()
'/<creation-date>[^<]*/',
'/<last-modification-date>[^<]*/',
'/\r\n/',
'/=\n/',
),
array(
' ',
Expand All @@ -76,6 +77,7 @@ public function testStore()
'<creation-date>',
'<last-modification-date>',
"\n",
'',
),
$result
);
Expand Down Expand Up @@ -111,8 +113,7 @@ public function testStore()
<creation-date></creation-date>
<last-modification-date></last-modification-date>
<sensitivity>public</sensitivity>
<product-id>Horde_Kolab_Format_Xml-@version@ (api version: 2)</=
product-id>
<product-id>Horde_Kolab_Format_Xml-@version@ (api version: 2)</product-id>
<summary>TEST</summary>
<background-color>#000000</background-color>
<foreground-color>#ffff00</foreground-color>
Expand Down

0 comments on commit b433ce0

Please sign in to comment.