diff --git a/autobahn_test.go b/autobahn_test.go
index b1b3a7e9d7ad65f2f5441730680b079c807245f3..cd0cc9bbced45b956de0677f3c99159a03d1693f 100644
--- a/autobahn_test.go
+++ b/autobahn_test.go
@@ -92,7 +92,7 @@ func TestAutobahn(t *testing.T) {
 		}
 	})
 
-	c, _, err := websocket.Dial(ctx, fmt.Sprintf(wstestURL+"/updateReports?agent=main"), nil)
+	c, _, err := websocket.Dial(ctx, wstestURL+"/updateReports?agent=main", nil)
 	assert.Success(t, err)
 	c.Close(websocket.StatusNormalClosure, "")