Skip to content

Commit

Permalink
Domain acceptance tests: mac is capitalized by libvirt, fix expectations
Browse files Browse the repository at this point in the history
  • Loading branch information
moio committed Oct 27, 2016
1 parent 38f2c9a commit 2bb34a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libvirt/resource_libvirt_domain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func TestAccLibvirtDomain_NetworkInterface(t *testing.T) {
}
network_interface = {
bridge = "br0"
mac = "52:54:00:a9:f5:17"
mac = "52:54:00:A9:F5:17"
}
disk {
volume_id = "${libvirt_volume.acceptance-test-volume.id}"
Expand All @@ -201,7 +201,7 @@ func TestAccLibvirtDomain_NetworkInterface(t *testing.T) {
resource.TestCheckResourceAttr(
"libvirt_domain.acceptance-test-domain", "network_interface.0.network_name", "default"),
resource.TestCheckResourceAttr(
"libvirt_domain.acceptance-test-domain", "network_interface.1.mac", "52:54:00:a9:f5:17"),
"libvirt_domain.acceptance-test-domain", "network_interface.1.mac", "52:54:00:A9:F5:17"),
),
},
},
Expand Down

0 comments on commit 2bb34a0

Please sign in to comment.