Update SDK dependency (#177)
* Update dependencies * Update dependencies * Update dependencies * Update dependencies --------- Co-authored-by: Henrique Santos <henrique.santos@freiheit.com>
This commit is contained in:
parent
506d1afdc2
commit
c7effac5c7
62 changed files with 382 additions and 382 deletions
|
|
@ -221,14 +221,14 @@ func TestToUpdatePayload(t *testing.T) {
|
|||
description string
|
||||
input *Model
|
||||
inputParameters *parametersModel
|
||||
expected *redis.UpdateInstancePayload
|
||||
expected *redis.PartialUpdateInstancePayload
|
||||
isValid bool
|
||||
}{
|
||||
{
|
||||
"default_values",
|
||||
&Model{},
|
||||
¶metersModel{},
|
||||
&redis.UpdateInstancePayload{
|
||||
&redis.PartialUpdateInstancePayload{
|
||||
Parameters: &redis.InstanceParameters{},
|
||||
},
|
||||
true,
|
||||
|
|
@ -241,7 +241,7 @@ func TestToUpdatePayload(t *testing.T) {
|
|||
¶metersModel{
|
||||
SgwAcl: types.StringValue("sgw"),
|
||||
},
|
||||
&redis.UpdateInstancePayload{
|
||||
&redis.PartialUpdateInstancePayload{
|
||||
Parameters: &redis.InstanceParameters{
|
||||
SgwAcl: utils.Ptr("sgw"),
|
||||
},
|
||||
|
|
@ -257,7 +257,7 @@ func TestToUpdatePayload(t *testing.T) {
|
|||
¶metersModel{
|
||||
SgwAcl: types.StringNull(),
|
||||
},
|
||||
&redis.UpdateInstancePayload{
|
||||
&redis.PartialUpdateInstancePayload{
|
||||
Parameters: &redis.InstanceParameters{
|
||||
SgwAcl: nil,
|
||||
},
|
||||
|
|
@ -278,7 +278,7 @@ func TestToUpdatePayload(t *testing.T) {
|
|||
PlanId: types.StringValue("plan"),
|
||||
},
|
||||
nil,
|
||||
&redis.UpdateInstancePayload{
|
||||
&redis.PartialUpdateInstancePayload{
|
||||
PlanId: utils.Ptr("plan"),
|
||||
},
|
||||
true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue