diff --git a/test/integration/nucleusIntegration_test.go b/test/integration/nucleusIntegration_test.go
index 7bfa496340d65100b41e6c673a2d7db821b39147..04ec33f4f223203e468719c0cc8f8b666efb1096 100644
--- a/test/integration/nucleusIntegration_test.go
+++ b/test/integration/nucleusIntegration_test.go
@@ -136,7 +136,7 @@ func TestGnmi_SetInvalidIntegration(t *testing.T) {
 	for _, tt := range tests {
 		t.Run(tt.name, func(t *testing.T) {
 			oc, err := nucleus.NewSBI(spb.Type_TYPE_OPENCONFIG)
-			if (err != nil) != tt.wantErr {
+			if err != nil {
 				t.Errorf("NewSBI() error = %v", err)
 			}
 			g, err := nucleus.NewTransport(tt.fields.opt, oc)
@@ -302,8 +302,8 @@ func TestGnmi_GetIntegration(t *testing.T) {
 	for _, tt := range tests {
 		t.Run(tt.name, func(t *testing.T) {
 			oc, err := nucleus.NewSBI(spb.Type_TYPE_OPENCONFIG)
-			if (err != nil) != tt.wantErr {
-				t.Errorf("Get() error = %v, wantErr %v", err, tt.wantErr)
+			if err != nil {
+				t.Errorf("Get() error = %v", err)
 				return
 			}
 			g, err := nucleus.NewTransport(tt.fields.opt, oc)
@@ -417,8 +417,8 @@ func TestGnmi_SubscribeIntegration(t *testing.T) {
 		t.Run(tt.name, func(t *testing.T) {
 			var wantErr = tt.wantErr
 			oc, err := nucleus.NewSBI(spb.Type_TYPE_OPENCONFIG)
-			if (err != nil) != tt.wantErr {
-				t.Errorf("Subscribe() error = %v, wantErr %v", err, tt.wantErr)
+			if err != nil {
+				t.Errorf("Subscribe() error = %v", err)
 				return
 			}
 			g, err := nucleus.NewTransport(tt.fields.opt, oc)
@@ -500,8 +500,8 @@ func TestGnmi_CapabilitiesIntegration(t *testing.T) {
 	for _, tt := range tests {
 		t.Run(tt.name, func(t *testing.T) {
 			oc, err := nucleus.NewSBI(spb.Type_TYPE_OPENCONFIG)
-			if (err != nil) != tt.wantErr {
-				t.Errorf("Capabilities() error = %v, wantErr %v", err, tt.wantErr)
+			if err != nil {
+				t.Errorf("Capabilities() error = %v", err)
 				return
 			}
 			tr, err := nucleus.NewTransport(tt.fields.opt, oc)