@@ -160,22 +160,22 @@ func TestClient_GetLatestReport(t *testing.T) {
160160}
161161
162162func TestClient_GetReportPage (t * testing.T ) {
163- expectedInitialTS := uint64 (1234567891 )
163+ expectedInitialTS := uint64 (1234567890 )
164164
165165 expectedReportPage1 := & ReportPage {
166166 Reports : []* ReportResponse {
167- {FeedID : feed1 , FullReport : hexutil .Bytes (`report1 payload` )},
168- {FeedID : feed1 , FullReport : hexutil .Bytes (`report2 payload` )},
167+ {FeedID : feed1 , ObservationsTimestamp : 1234567890 , FullReport : hexutil .Bytes (`report1 payload` )},
168+ {FeedID : feed1 , ObservationsTimestamp : 1234567891 , FullReport : hexutil .Bytes (`report2 payload` )},
169169 },
170- NextPageTS : 1234567899 ,
170+ NextPageTS : 1234567892 ,
171171 }
172172
173173 expectedReportPage2 := & ReportPage {
174174 Reports : []* ReportResponse {
175- {FeedID : feed1 , FullReport : hexutil .Bytes (`report3 payload` )},
176- {FeedID : feed1 , FullReport : hexutil .Bytes (`report4 payload` )},
175+ {FeedID : feed1 , ObservationsTimestamp : 1234567892 , FullReport : hexutil .Bytes (`report3 payload` )},
176+ {FeedID : feed1 , ObservationsTimestamp : 1234567893 , FullReport : hexutil .Bytes (`report4 payload` )},
177177 },
178- NextPageTS : 1234567999 ,
178+ NextPageTS : 1234567894 ,
179179 }
180180
181181 ms := newMockServer (func (w http.ResponseWriter , r * http.Request ) {
0 commit comments