Share optional ComfyUI endpoint in core config

This commit is contained in:
Gabriel20xx committed 2026-09-16 11:50:55 +02:00
1 parent b012d585f8
commit 4b0566ea46
2 files changed
+21 -1

No files matched your search

+10
View File
@@ -22,6 +22,16 @@ func TestStoreSetIgnoresBlankFields(t *testing.T) {
}
}
func TestStoreSetComfyUIURL(t *testing.T) {
store := NewStore(Info{})
store.Set(Info{ComfyUIURL: "http://comfyui:8188/"})
if got := store.ComfyUIURL(); got != "http://comfyui:8188" {
t.Fatalf("ComfyUIURL = %q, want trimmed URL", got)
}
}
func TestStoreOnUpdateFiresWithNewInfo(t *testing.T) {
store := NewStore(Info{})
var got Info