mirror of
https://github.com/gravitl/netmaker.git
synced 2025-09-08 22:24:17 +08:00
adjust test to new error msg
This commit is contained in:
parent
456272d549
commit
df292f2fc8
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue