This commit is contained in:
1 parent
dc04ac4360
commit
6e70b7e8c1
2 files changed
+21
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user