adjust test to new error msg

This commit is contained in:
0xdcarns 2022-02-08 11:05:22 -05:00
parent 456272d549
commit df292f2fc8

View file

@ -133,7 +133,7 @@ func TestValidateEgressGateway(t *testing.T) {
gateway.Interface = ""
err := logic.ValidateEgressGateway(gateway)
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) {
gateway.Interface = "eth0"