Skip to content

Commit 23111c3

Browse files
committed
test that nodebalancer type matches the requested type
1 parent 5a842bb commit 23111c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/integration/nodebalancers_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ func TestNodeBalancer_Create_Type(t *testing.T) {
4545
t.Errorf("nodebalancer returned does not match nodebalancer create request")
4646
}
4747
// add this test case once the api supports returning it
48-
// if nodebalancer.Type != linodego.NBTypeCommon {
49-
// t.Errorf("nodebalancer returned type does not match the type of the nodebalancer create request")
50-
// }
48+
if nodebalancer.Type != linodego.NBTypeCommon {
49+
t.Errorf("nodebalancer returned type does not match the type of the nodebalancer create request")
50+
}
5151

5252
assertDateSet(t, nodebalancer.Created)
5353
assertDateSet(t, nodebalancer.Updated)

0 commit comments

Comments
 (0)