Skip to content
Snippets Groups Projects
Commit 4cca7208 authored by Semyon Krestyaninov's avatar Semyon Krestyaninov :dog2:
Browse files

fix

parent 5873eefb
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,7 @@ import ( ...@@ -11,7 +11,7 @@ import (
func TestConfig_Load(t *testing.T) { func TestConfig_Load(t *testing.T) {
cfg := NewConfig() cfg := NewConfig()
cfg, err := cfg.Load(os.DirFS("../../assets/tests/setup")) cfg, err := cfg.Load(os.DirFS("../assets/tests/setup"))
assert.NoError(t, err) assert.NoError(t, err)
assert.Len(t, cfg.Collections, 3) assert.Len(t, cfg.Collections, 3)
assert.Equal(t, cfg.Collections[0].Value(nil).ID, "collection_a") assert.Equal(t, cfg.Collections[0].Value(nil).ID, "collection_a")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment