Complete session defaults within the ConfigKit lifecycle
This commit is contained in:
@@ -28,7 +28,7 @@ func TestSessionInitMaterializesLocalTemplateImports(t *testing.T) {
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if loaded.Title != "Shared metadata" || loaded.Inputs.SpeakersFile != "" {
|
||||
if loaded.Title != "Shared metadata" || loaded.Inputs.SpeakersFile != filepath.Join(filepath.Dir(campaign), "speakers.yml") {
|
||||
t.Fatalf("unexpected standalone session: %#v", loaded)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user