mirror of
https://github.com/gravitl/netmaker.git
synced 2026-04-23 00:17:10 +08:00
adjust test to new error msg
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user