mirror of
https://github.com/grafana/grafana.git
synced 2025-08-06 03:19:30 +08:00
libraryelements: Spanner compability (#103881)
* libraryelements: fix compatibility with Spanner * Log errors leading to status code 500. * Rename tests to make them integration tests.
This commit is contained in:
@ -8,11 +8,12 @@ import (
|
||||
"github.com/grafana/grafana/pkg/util"
|
||||
|
||||
"github.com/google/go-cmp/cmp"
|
||||
"github.com/grafana/grafana/pkg/web"
|
||||
"github.com/stretchr/testify/require"
|
||||
|
||||
"github.com/grafana/grafana/pkg/web"
|
||||
)
|
||||
|
||||
func TestPatchLibraryElement(t *testing.T) {
|
||||
func TestIntegration_PatchLibraryElement(t *testing.T) {
|
||||
scenarioWithPanel(t, "When an admin tries to patch a library panel that does not exist, it should fail",
|
||||
func(t *testing.T, sc scenarioContext) {
|
||||
cmd := model.PatchLibraryElementCommand{Kind: int64(model.PanelElement), Version: 1}
|
||||
|
Reference in New Issue
Block a user