fix js tests (#6343)

This commit is contained in:
Joffrey JAFFEUX 2018-08-30 15:09:08 +02:00 committed by GitHub
parent bb93179609
commit ceae3d0a93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
import { SCHEMA_VERSION } from "admin/models/report";
let signups = {
type: "signups",
title: "Signups",
@ -155,7 +157,7 @@ const page_view_total_reqs = {
dates_filtering: true,
report_key: `reports:page_view_total_reqs:${startDate.format(
"YYYYMMDD"
)}:${endDate.format("YYYYMMDD")}:[:prev_period]:2`,
)}:${endDate.format("YYYYMMDD")}:[:prev_period]:${SCHEMA_VERSION}`,
labels: [
{ type: "date", property: "x", title: "Day" },
{ type: "number", property: "y", title: "Count" }