Skip to content

Commit

Permalink
Use correct interface with IP address test
Browse files Browse the repository at this point in the history
  • Loading branch information
gfenn-newbury committed Dec 21, 2021
1 parent 23c6498 commit 76cb280
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/ip_address_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ func TestGetIpAddress(t *testing.T) {
func TestCreateIpAddress(t *testing.T) {
c := NewClient(GetCredentialsFromEnvVar())
ipaddr := new(IPAddress)
ipaddr.Address = "10.1.71.5/24"
ipaddr.Interface = "VLAN_71_BACKUP_WAN"
ipaddr.Network = "10.1.71.0"
ipaddr.Address = "192.168.88.1/24"
ipaddr.Interface = "bridge"
ipaddr.Network = "192.168.88.0"
ipaddr.Disabled = "yes"
_, err := c.CreateIPAddress(ipaddr)
assert.Nil(t, err, "Expecting a nil error")
Expand Down

0 comments on commit 76cb280

Please sign in to comment.