Hardcode the timestamp to simplify tests

This commit is contained in:
Erick Tryzelaar 2014-09-07 01:02:19 -07:00
parent c77d814685
commit 12e8920810
2 changed files with 2 additions and 4 deletions

View File

@ -7,7 +7,6 @@ extern crate serde_macros;
extern crate serde;
extern crate serialize;
extern crate test;
extern crate time;
use std::io;
use std::io::MemWriter;
@ -454,7 +453,7 @@ struct Log {
impl Log {
fn new() -> Log {
Log {
timestamp: time::precise_time_ns() as i64,
timestamp: 2837513946597,
zone_id: 123456,
zone_plan: FREE,
http: Http {

View File

@ -4,7 +4,6 @@
extern crate serde2;
extern crate serialize;
extern crate test;
extern crate time;
#[phase(plugin)]
extern crate serde2_macros;
@ -466,7 +465,7 @@ struct Log {
impl Log {
fn new() -> Log {
Log {
timestamp: time::precise_time_ns() as i64,
timestamp: 2837513946597,
zone_id: 123456,
zone_plan: FREE,
http: Http {