|
|
@@ -149,6 +149,17 @@ class Zend_Gdata_App_UtilTest extends PHPUnit_Framework_TestCase
|
|
|
// Excetion not thrown, this is bad.
|
|
|
$this->fail("Exception not thrown.");
|
|
|
}
|
|
|
+
|
|
|
+ /**
|
|
|
+ * @group ZF-11610
|
|
|
+ */
|
|
|
+ public function testFormatTimestepHandlesSmallUnixTimestampProperly()
|
|
|
+ {
|
|
|
+ $this->assertEquals(
|
|
|
+ '1970-01-01T00:02:03+00:00',
|
|
|
+ Zend_Gdata_App_Util::formatTimestamp(123)
|
|
|
+ );
|
|
|
+ }
|
|
|
|
|
|
public function testFindGreatestBoundedValueReturnsMax() {
|
|
|
$data = array(-1 => null,
|