diff --git a/config_center/nacos/client_test.go b/config_center/nacos/client_test.go
index 93bdcf654f1e806fae479fec54bacce14db2f3a0..26cac7fb74a409b00cf24148ccec0b3eae6eb6cc 100644
--- a/config_center/nacos/client_test.go
+++ b/config_center/nacos/client_test.go
@@ -1,7 +1,6 @@
 package nacos
 
 import (
-	"context"
 	"fmt"
 	"testing"
 )
@@ -15,7 +14,7 @@ import (
 )
 
 func Test_newNacosClient(t *testing.T) {
-	registryUrl, _ := common.NewURL(context.TODO(), "registry://console.nacos.io:80")
+	registryUrl, _ := common.NewURL("registry://console.nacos.io:80")
 	c := &nacosDynamicConfiguration{
 		url:  &registryUrl,
 		done: make(chan struct{}),
diff --git a/config_center/nacos/impl_test.go b/config_center/nacos/impl_test.go
index 07195e2d92681310d6c03964e2b9fb2eaa61ebe8..cb1fae7074c7938e192152cc85d7ea01080adc7b 100644
--- a/config_center/nacos/impl_test.go
+++ b/config_center/nacos/impl_test.go
@@ -17,7 +17,6 @@
 package nacos
 
 import (
-	"context"
 	"fmt"
 	"sync"
 	"testing"
@@ -36,7 +35,7 @@ import (
 )
 
 func initNacosData(t *testing.T) (*nacosDynamicConfiguration, error) {
-	regurl, _ := common.NewURL(context.TODO(), "registry://console.nacos.io:80")
+	regurl, _ := common.NewURL("registry://console.nacos.io:80")
 	nacosConfiguration, err := newNacosDynamicConfiguration(&regurl)
 	if err != nil {
 		fmt.Println("error:newNacosDynamicConfiguration", err.Error())