Update tests with correct name of variables

This commit is contained in:
TeoV
2019-06-12 10:21:14 +03:00
committed by Dan Christian Bogos
parent 4e344d9754
commit a06baba7b7

View File

@@ -68,7 +68,7 @@ func TestMCDRCEmptyTables(t *testing.T) {
func TestMCDRCCreateCdrDirs(t *testing.T) {
for _, cdrcProfiles := range cfg.CdrcProfiles {
for _, cdrcInst := range cdrcProfiles {
for _, dir := range []string{cdrcInst.CdrInDir, cdrcInst.CdrOutDir} {
for _, dir := range []string{cdrcInst.CDRInPath, cdrcInst.CDROutPath} {
if err := os.RemoveAll(dir); err != nil {
t.Fatal("Error removing folder: ", dir, err)
}