bus: dont mix ctx/classic handlers

This commit is contained in:
bergquist
2018-06-15 12:46:20 +02:00
parent e2275701d8
commit 629eab0b1e
5 changed files with 17 additions and 41 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
package sqlstore
import (
"context"
"testing"
m "github.com/grafana/grafana/pkg/models"
@@ -20,7 +21,7 @@ func TestStatsDataAccess(t *testing.T) {
Convey("Get system user count stats should not results in error", func() {
query := m.GetSystemUserCountStatsQuery{}
err := GetSystemUserCountStats(&query)
err := GetSystemUserCountStats(context.Background(), &query)
So(err, ShouldBeNil)
})