mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Fix broken anonymous devices test (#81649)
This commit is contained in:
@@ -206,6 +206,8 @@ func TestIntegrationDeviceService_SearchDevice(t *testing.T) {
|
|||||||
Query: "",
|
Query: "",
|
||||||
Page: 1,
|
Page: 1,
|
||||||
Limit: 1,
|
Limit: 1,
|
||||||
|
From: fixedTime,
|
||||||
|
To: fixedTime.Add(1 * time.Hour),
|
||||||
},
|
},
|
||||||
expectedCount: 1,
|
expectedCount: 1,
|
||||||
},
|
},
|
||||||
@@ -227,6 +229,8 @@ func TestIntegrationDeviceService_SearchDevice(t *testing.T) {
|
|||||||
Query: "192.1",
|
Query: "192.1",
|
||||||
Page: 1,
|
Page: 1,
|
||||||
Limit: 50,
|
Limit: 50,
|
||||||
|
From: fixedTime,
|
||||||
|
To: fixedTime.Add(1 * time.Hour),
|
||||||
},
|
},
|
||||||
expectedCount: 1,
|
expectedCount: 1,
|
||||||
expectedDevice: &anonstore.Device{
|
expectedDevice: &anonstore.Device{
|
||||||
|
|||||||
Reference in New Issue
Block a user