mirror of
https://github.com/plausible/analytics.git
synced 2024-09-11 18:07:33 +03:00
Fix broken tests (#3867)
This commit is contained in:
parent
c6d98397a8
commit
0cdba7d407
@ -23,12 +23,12 @@ defmodule PlausibleWeb.Api.StatsController.ScreenSizesTest do
|
||||
populate_stats(site, [
|
||||
build(:pageview,
|
||||
user_id: 1,
|
||||
session_screen_size: "Desktop",
|
||||
screen_size: "Desktop",
|
||||
timestamp: ~N[2021-01-01 00:00:00]
|
||||
),
|
||||
build(:pageview,
|
||||
user_id: 1,
|
||||
session_screen_size: "Laptop",
|
||||
screen_size: "Laptop",
|
||||
timestamp: ~N[2021-01-01 05:00:00]
|
||||
)
|
||||
])
|
||||
@ -175,12 +175,12 @@ defmodule PlausibleWeb.Api.StatsController.ScreenSizesTest do
|
||||
populate_stats(site, [
|
||||
build(:pageview,
|
||||
user_id: 1,
|
||||
session_screen_size: "Desktop",
|
||||
screen_size: "Desktop",
|
||||
timestamp: ~N[2021-01-01 00:00:00]
|
||||
),
|
||||
build(:pageview,
|
||||
user_id: 1,
|
||||
session_screen_size: "Laptop",
|
||||
screen_size: "Laptop",
|
||||
timestamp: ~N[2021-01-01 05:00:00]
|
||||
)
|
||||
])
|
||||
|
Loading…
Reference in New Issue
Block a user