Commit 809019d4 by bergquist

moves test files into testdata folder

parent 8f0e65a1
...@@ -12,21 +12,21 @@ import ( ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment