diff --git a/internal/ptx/snowflake_test.go b/internal/ptx/snowflake_test.go index 0c2d8a6f2..68254dec5 100644 --- a/internal/ptx/snowflake_test.go +++ b/internal/ptx/snowflake_test.go @@ -16,11 +16,11 @@ func TestSnowflakeMethodDomainFronting(t *testing.T) { if meth.AMPCacheURL() != "" { t.Fatal("invalid amp cache URL") } - const brokerURL = "https://snowflake-broker.torproject.net.global.prod.fastly.net/" + const brokerURL = "https://1098762253.rsc.cdn77.org/" if meth.BrokerURL() != brokerURL { t.Fatal("invalid broker URL") } - const frontDomain = "foursquare.com" + const frontDomain = "www.phpmyadmin.net" if meth.FrontDomain() != frontDomain { t.Fatal("invalid front domain") } @@ -54,7 +54,7 @@ func TestNewSnowflakeRendezvousMethod(t *testing.T) { if err != nil { t.Fatal(err) } - if _, ok := meth.(*snowflakeRendezvousMethodDomainFronting); !ok { + if _, ok := meth.(*SnowflakeRendezvousMethodDomainFronting); !ok { t.Fatal("unexpected method type") } }) @@ -64,7 +64,7 @@ func TestNewSnowflakeRendezvousMethod(t *testing.T) { if err != nil { t.Fatal(err) } - if _, ok := meth.(*snowflakeRendezvousMethodDomainFronting); !ok { + if _, ok := meth.(*SnowflakeRendezvousMethodDomainFronting); !ok { t.Fatal("unexpected method type") } }) @@ -92,7 +92,7 @@ func TestNewSnowflakeRendezvousMethod(t *testing.T) { func TestNewSnowflakeDialer(t *testing.T) { dialer := NewSnowflakeDialer() - _, ok := dialer.RendezvousMethod.(*snowflakeRendezvousMethodDomainFronting) + _, ok := dialer.RendezvousMethod.(*SnowflakeRendezvousMethodDomainFronting) if !ok { t.Fatal("invalid rendezvous method type") }