console: implement "filter/saved" endpoints

This commit is contained in:
Vincent Bernat
2022-06-09 22:56:05 +02:00
parent b65d78ab1b
commit bf0c474726
22 changed files with 475 additions and 42 deletions

View File

@@ -140,8 +140,7 @@ ORDER BY time`,
}
func TestGraphHandler(t *testing.T) {
c, h, mockConn, _ := NewMock(t, DefaultConfiguration())
helpers.StartStop(t, c)
_, h, mockConn, _ := NewMock(t, DefaultConfiguration())
base := time.Date(2009, time.November, 10, 23, 0, 0, 0, time.UTC)
expectedSQL := []struct {