fix test
Kim committed
Mar 13, 2026 at 15:07 UTC
44675c53332acb541ccc8baf17cb8074a394fc64
1 file changed
+2
-2
sdk/sdk_test.go
+2
-2
@@ -163,8 +163,8 @@ func TestNewListenerRegistersLeaseWithMainContract(t *testing.T) {
163
if got := listener.Hostname(); got != "127.0.0.1" {
164
t.Fatalf("Hostname() = %q, want %q", got, "127.0.0.1")
165
}
166
- if got := listener.PublicURL(); got != "https://127.0.0.1" {
167
- t.Fatalf("PublicURL() = %q, want %q", got, "https://127.0.0.1")
166
+ if got := listener.PublicURL(); got != server.URL {
167
+ t.Fatalf("PublicURL() = %q, want %q", got, server.URL)
168
}
169
if got := listener.Metadata(); got.Owner != "alice" {
170
t.Fatalf("Metadata().Owner = %q, want %q", got.Owner, "alice")