Browse Source

adjust test to new error msg

0xdcarns 3 years ago
parent
commit
df292f2fc8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/node_test.go

+ 1 - 1
controllers/node_test.go

@@ -133,7 +133,7 @@ func TestValidateEgressGateway(t *testing.T) {
 		gateway.Interface = ""
 		gateway.Interface = ""
 		err := logic.ValidateEgressGateway(gateway)
 		err := logic.ValidateEgressGateway(gateway)
 		assert.NotNil(t, err)
 		assert.NotNil(t, err)
-		assert.Equal(t, "Interface cannot be empty", err.Error())
+		assert.Equal(t, "interface cannot be empty", err.Error())
 	})
 	})
 	t.Run("Success", func(t *testing.T) {
 	t.Run("Success", func(t *testing.T) {
 		gateway.Interface = "eth0"
 		gateway.Interface = "eth0"