summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-25 06:41:11 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-25 06:41:11 +0000
commit52206148a8aaa25245b1f73dddaa24d199868400 (patch)
treef12ecbb62fe16135c077196576ad15ba5c0ef0ba
parent7eded6770888cbec2659ad8946d1b461669bf11f (diff)
Fix tests
-rw-r--r--modules/atom/tests/Atom_Test.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/atom/tests/Atom_Test.php b/modules/atom/tests/Atom_Test.php
index ab18ed25..aad7057d 100644
--- a/modules/atom/tests/Atom_Test.php
+++ b/modules/atom/tests/Atom_Test.php
@@ -29,7 +29,7 @@ class Atom_Test extends Unit_Test_Case {
$feed = new Atom_Feed("feed");
$feed->id("http://gallery.example.com/comments")
->title("Comments on Ocean Beach Sunset", "text")
- ->updated("2008-11-15T12:00:00Z");
+ ->updated(time());
$feed->link()
->rel("self")
@@ -47,7 +47,7 @@ class Atom_Test extends Unit_Test_Case {
$feed->entry()
->id("http://gallery.example.com/comments/32")
- ->updated("2008-11-15T12:00:00Z")
+ ->updated(time())
->title("")
->content("Wow, that's &lt;b>beautiful&lt;b>!", "html")
->author()
@@ -64,7 +64,7 @@ class Atom_Test extends Unit_Test_Case {
$entry = new Atom_Entry("entry");
$entry->id("http://gallery.example.com/comments/32")
->title("Comment on Ocean Beach Sunset", "text")
- ->updated("2008-11-15T12:00:00Z")
+ ->updated(time())
->content("Wow, that's &lt;b>beautiful&lt;b>!", "html")
->author()
->name("Jonathan Doe")