Skip to content

A platform for community discussion. Free, open, simple.

fix js tests (#6343)

Joffrey JAFFEUXceae3d0a937f
diff --git a/test/javascripts/fixtures/reports_bulk.js.es6 b/test/javascripts/fixtures/reports_bulk.js.es6
index e361b462ca8..708640766e2 100644
--- a/test/javascripts/fixtures/reports_bulk.js.es6
+++ b/test/javascripts/fixtures/reports_bulk.js.es6
@@ -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" }