diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-25 06:41:11 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-25 06:41:11 +0000 |
commit | 52206148a8aaa25245b1f73dddaa24d199868400 (patch) | |
tree | f12ecbb62fe16135c077196576ad15ba5c0ef0ba /modules | |
parent | 7eded6770888cbec2659ad8946d1b461669bf11f (diff) |
Fix tests
Diffstat (limited to 'modules')
-rw-r--r-- | modules/atom/tests/Atom_Test.php | 6 |
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 <b>beautiful<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 <b>beautiful<b>!", "html") ->author() ->name("Jonathan Doe") |