mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
moves test files into testdata folder
This commit is contained in:
parent
8f0e65a150
commit
809019d4ee
@ -12,21 +12,21 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
logger = log.New("fake.log")
|
correct_properties = "./testdata/test-configs/correct-properties"
|
||||||
|
incorrect_settings = "./testdata/test-configs/incorrect-settings"
|
||||||
correct_properties = "./test-configs/correct-properties"
|
no_required_fields = "./testdata/test-configs/no-required-fields"
|
||||||
incorrect_settings = "./test-configs/incorrect-settings"
|
correct_properties_with_orgName = "./testdata/test-configs/correct-properties-with-orgName"
|
||||||
no_required_fields = "./test-configs/no-required-fields"
|
brokenYaml = "./testdata/test-configs/broken-yaml"
|
||||||
correct_properties_with_orgName = "./test-configs/correct-properties-with-orgName"
|
doubleNotificationsConfig = "./testdata/test-configs/double-default"
|
||||||
brokenYaml = "./test-configs/broken-yaml"
|
emptyFolder = "./testdata/test-configs/empty_folder"
|
||||||
doubleNotificationsConfig = "./test-configs/double-default"
|
emptyFile = "./testdata/test-configs/empty"
|
||||||
emptyFolder = "./test-configs/empty_folder"
|
twoNotificationsConfig = "./testdata/test-configs/two-notifications"
|
||||||
emptyFile = "./test-configs/empty"
|
unknownNotifier = "./testdata/test-configs/unknown-notifier"
|
||||||
twoNotificationsConfig = "./test-configs/two-notifications"
|
|
||||||
unknownNotifier = "./test-configs/unknown-notifier"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestNotificationAsConfig(t *testing.T) {
|
func TestNotificationAsConfig(t *testing.T) {
|
||||||
|
logger := log.New("fake.log")
|
||||||
|
|
||||||
Convey("Testing notification as configuration", t, func() {
|
Convey("Testing notification as configuration", t, func() {
|
||||||
sqlstore.InitTestDB(t)
|
sqlstore.InitTestDB(t)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user