summaryrefslogtreecommitdiff
path: root/tests/Api/PostsAddTest.php
diff options
context:
space:
mode:
authorMark Pemberton <mpemberton5@gmail.com>2011-05-21 22:06:44 -0400
committerMark Pemberton <mpemberton5@gmail.com>2011-05-21 22:06:44 -0400
commit342d1c3205c2f2ae9d918f66e28e8ffa153c2854 (patch)
treeef1e7b543522e51f6579f572feb2efab33bc4226 /tests/Api/PostsAddTest.php
parentb105867e75f103ae2b0c54edfaa9ce6467a8a258 (diff)
downloadsemanticscuttle-342d1c3205c2f2ae9d918f66e28e8ffa153c2854.tar.gz
semanticscuttle-342d1c3205c2f2ae9d918f66e28e8ffa153c2854.tar.bz2
Altered tests to be more timezone friendly
Diffstat (limited to 'tests/Api/PostsAddTest.php')
-rw-r--r--tests/Api/PostsAddTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/Api/PostsAddTest.php b/tests/Api/PostsAddTest.php
index e6d0531..2613a87 100644
--- a/tests/Api/PostsAddTest.php
+++ b/tests/Api/PostsAddTest.php
@@ -111,7 +111,7 @@ TXT;
$this->assertEquals($bmDescription, stripslashes($bm['bDescription']));
$this->assertEquals($bmTags, $bm['tags']);
$this->assertEquals(
- gmdate('Y-m-d H:i:s', strtotime($bmDatetime)),
+ date('Y-m-d H:i:s', strtotime($bmDatetime)),
$bm['bDatetime']
);
}
@@ -173,7 +173,7 @@ TXT;
$this->assertEquals($bmDescription, stripslashes($bm['bDescription']));
$this->assertEquals($bmTags, $bm['tags']);
$this->assertEquals(
- gmdate('Y-m-d H:i:s', strtotime($bmDatetime)),
+ date('Y-m-d H:i:s', strtotime($bmDatetime)),
$bm['bDatetime']
);
}