Skip to content

Commit 7c2030f

Browse files
author
Jonas Gottlieb
committed
fix: add unit-tests
1 parent 7078950 commit 7c2030f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

stackit/internal/services/iaasalpha/routingtable/table/resource_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ func TestToUpdatePayload(t *testing.T) {
182182
"key1": types.StringValue("value1"),
183183
"key2": types.StringValue("value2"),
184184
}),
185+
DynamicRoutes: types.BoolValue(false),
185186
},
186187
&iaasalpha.UpdateRoutingTableOfAreaPayload{
187188
Description: utils.Ptr("Description"),
@@ -190,6 +191,7 @@ func TestToUpdatePayload(t *testing.T) {
190191
"key1": "value1",
191192
"key2": "value2",
192193
},
194+
DynamicRoutes: utils.Ptr(false),
193195
},
194196
true,
195197
},

0 commit comments

Comments
 (0)