浏览代码

cleaning up test data

Marcus Efraimsson 7 年之前
父节点
当前提交
0a7be2618e

+ 1 - 1
pkg/services/provisioning/datasources/config_reader_test.go

@@ -74,7 +74,7 @@ func TestDatasourceAsConfig(t *testing.T) {
 			})
 		})
 
-		Convey("Multiple datasources in different organizations with is_default in each organization", func() {
+		Convey("Multiple datasources in different organizations with isDefault in each organization", func() {
 			dc := newDatasourceProvisioner(logger)
 			err := dc.applyChanges(multipleOrgsWithDefault)
 			Convey("should not raise error", func() {

+ 0 - 2
pkg/services/provisioning/datasources/testdata/multiple-org-default/config.yaml

@@ -11,7 +11,6 @@ datasources:
     type: graphite
     access: proxy
     url: http://localhost:8080
-    is_default: true
   - orgId: 2
     name: prometheus
     type: prometheus
@@ -23,5 +22,4 @@ datasources:
     type: graphite
     access: proxy
     url: http://localhost:8080
-    is_default: true