mirror of
https://github.com/grafana/grafana.git
synced 2025-08-02 23:12:54 +08:00
Fix back-end tests on Windows (#26355)
Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
@ -4,6 +4,7 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"path/filepath"
|
||||
"testing"
|
||||
|
||||
"github.com/grafana/grafana/pkg/api/dtos"
|
||||
@ -1002,7 +1003,7 @@ func TestDashboardApiEndpoint(t *testing.T) {
|
||||
dash := GetDashboardShouldReturn200WithConfig(sc, mock)
|
||||
|
||||
Convey("Should return relative path to provisioning file", func() {
|
||||
So(dash.Meta.ProvisionedExternalId, ShouldEqual, "test/dashboard1.json")
|
||||
So(dash.Meta.ProvisionedExternalId, ShouldEqual, filepath.Join("test", "dashboard1.json"))
|
||||
})
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user