diff --git a/ably/realtime_conn_spec_integration_test.go b/ably/realtime_conn_spec_integration_test.go index 18b47381..420e1e65 100644 --- a/ably/realtime_conn_spec_integration_test.go +++ b/ably/realtime_conn_spec_integration_test.go @@ -222,7 +222,7 @@ func Test_RTN4a_ConnectionEventForStateChange(t *testing.T) { t.Run(fmt.Sprintf("on %s", ably.ConnectionStateFailed), func(t *testing.T) { options := []ably.ClientOption{ - ably.WithEnvironment("sandbox"), + ably.WithEnvironment("lmars-dev"), ably.WithAutoConnect(false), ably.WithKey("made:up"), } diff --git a/ably/rest_client_integration_test.go b/ably/rest_client_integration_test.go index bf4c823b..0f034bb8 100644 --- a/ably/rest_client_integration_test.go +++ b/ably/rest_client_integration_test.go @@ -814,7 +814,7 @@ func postStats(app *ablytest.Sandbox, stats []*ably.Stats) error { return fmt.Errorf("marshaling stats: %w", err) } - req, err := http.NewRequest("POST", "https://sandbox-rest.ably.io/stats", bytes.NewReader(statsJSON)) + req, err := http.NewRequest("POST", "https://lmars-dev-rest.ably.io/stats", bytes.NewReader(statsJSON)) if err != nil { return fmt.Errorf("creating request: %w", err) } diff --git a/ablytest/ablytest.go b/ablytest/ablytest.go index fc7b8363..e9782972 100644 --- a/ablytest/ablytest.go +++ b/ablytest/ablytest.go @@ -17,7 +17,7 @@ import ( var Timeout = 30 * time.Second var NoBinaryProtocol bool var DefaultLogLevel = ably.LogNone -var Environment = "sandbox" +var Environment = "lmars-dev" func nonil(err ...error) error { for _, err := range err {