Skip to content

Commit

Permalink
update to use latest in main for plugin testing
Browse files Browse the repository at this point in the history
  • Loading branch information
austinvalle committed Jan 16, 2024
1 parent 56865f4 commit 6eb4f8c
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 37 deletions.
6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/hashicorp/terraform-plugin-framework-validators v0.12.0
github.com/hashicorp/terraform-plugin-go v0.20.0
github.com/hashicorp/terraform-plugin-log v0.9.0
github.com/hashicorp/terraform-plugin-testing v1.6.1-0.20240111121646-4f283cf85d95
github.com/hashicorp/terraform-plugin-testing v1.6.1-0.20240115122813-198c7510a0d0
)

require (
Expand Down Expand Up @@ -50,10 +50,10 @@ require (
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
github.com/zclconf/go-cty v1.14.1 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/crypto v0.18.0 // indirect
golang.org/x/mod v0.14.0 // indirect
golang.org/x/net v0.18.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/sys v0.16.0 // indirect
golang.org/x/text v0.14.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ github.com/hashicorp/terraform-plugin-log v0.9.0 h1:i7hOA+vdAItN1/7UrfBqBwvYPQ9T
github.com/hashicorp/terraform-plugin-log v0.9.0/go.mod h1:rKL8egZQ/eXSyDqzLUuwUYLVdlYeamldAHSxjUFADow=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0 h1:Bl3e2ei2j/Z3Hc2HIS15Gal2KMKyLAZ2om1HCEvK6es=
github.com/hashicorp/terraform-plugin-sdk/v2 v2.31.0/go.mod h1:i2C41tszDjiWfziPQDL5R/f3Zp0gahXe5No/MIO9rCE=
github.com/hashicorp/terraform-plugin-testing v1.6.1-0.20240111121646-4f283cf85d95 h1:uzjLLbO63UAsK+vtzbB1ygO1fDCNrYXNaC35xOGevBA=
github.com/hashicorp/terraform-plugin-testing v1.6.1-0.20240111121646-4f283cf85d95/go.mod h1:nlL5JV/Ftd5wqcX/d0UfLZ2jzQWcsJT1UUXrqC3UsBQ=
github.com/hashicorp/terraform-plugin-testing v1.6.1-0.20240115122813-198c7510a0d0 h1:JtOLZe5o8y30AUT5Yl+APLWkbLcMvD4JOyfCm7q7THc=
github.com/hashicorp/terraform-plugin-testing v1.6.1-0.20240115122813-198c7510a0d0/go.mod h1:Bocqu1MRrgE0+uhWJpbRJDMDl4CvWmtGRCIy2z6CvfQ=
github.com/hashicorp/terraform-registry-address v0.2.3 h1:2TAiKJ1A3MAkZlH1YI/aTVcLZRu7JseiXNRHbOAyoTI=
github.com/hashicorp/terraform-registry-address v0.2.3/go.mod h1:lFHA76T8jfQteVfT7caREqguFrW3c4MFSPhZB7HHgUM=
github.com/hashicorp/terraform-svchost v0.1.1 h1:EZZimZ1GxdqFRinZ1tpJwVxxt49xc/S52uzrw4x0jKQ=
Expand Down Expand Up @@ -141,8 +141,8 @@ golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACk
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
golang.org/x/crypto v0.3.1-0.20221117191849-2c476679df9a/go.mod h1:hebNnKkNXi2UzZN1eVRvBB7co0a+JxK6XbPiWVs/3J4=
golang.org/x/crypto v0.7.0/go.mod h1:pYwdfH91IfpZVANVyUOhSIPZaFoJGxTFbZhFTx+dXZU=
golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k=
golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4=
golang.org/x/crypto v0.18.0 h1:PGVlW0xEltQnzFZ55hkuX5+KLyrMYhHld1YHO4AKcdc=
golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1mg=
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/mod v0.14.0 h1:dGoOF9QVLYng8IHTm7BAyWqCqSheQ5pYWGhzW00YJr0=
Expand Down Expand Up @@ -175,8 +175,8 @@ golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc=
golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU=
golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
golang.org/x/term v0.2.0/go.mod h1:TVmDHMZPmdnySmBfhjOoOdhjzdE1h4u1VwSiw2l1Nuc=
Expand Down
56 changes: 28 additions & 28 deletions internal/provider/function_rfc3339_parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ func TestRFC3339Parse_UTC(t *testing.T) {
`,
ConfigPlanChecks: resource.ConfigPlanChecks{
PreApply: []plancheck.PlanCheck{
plancheck.ExpectKnownOutputValue("test", knownvalue.ObjectValueExact(
plancheck.ExpectKnownOutputValue("test", knownvalue.ObjectExact(
map[string]knownvalue.Check{
"day": knownvalue.Int64ValueExact(25),
"hour": knownvalue.Int64ValueExact(23),
"iso_week": knownvalue.Int64ValueExact(30),
"iso_year": knownvalue.Int64ValueExact(2023),
"minute": knownvalue.Int64ValueExact(43),
"month": knownvalue.Int64ValueExact(7),
"month_name": knownvalue.StringValueExact("July"),
"second": knownvalue.Int64ValueExact(16),
"unix": knownvalue.Int64ValueExact(1690328596),
"weekday": knownvalue.Int64ValueExact(2),
"weekday_name": knownvalue.StringValueExact("Tuesday"),
"year": knownvalue.Int64ValueExact(2023),
"year_day": knownvalue.Int64ValueExact(206),
"day": knownvalue.Int64Exact(25),
"hour": knownvalue.Int64Exact(23),
"iso_week": knownvalue.Int64Exact(30),
"iso_year": knownvalue.Int64Exact(2023),
"minute": knownvalue.Int64Exact(43),
"month": knownvalue.Int64Exact(7),
"month_name": knownvalue.StringExact("July"),
"second": knownvalue.Int64Exact(16),
"unix": knownvalue.Int64Exact(1690328596),
"weekday": knownvalue.Int64Exact(2),
"weekday_name": knownvalue.StringExact("Tuesday"),
"year": knownvalue.Int64Exact(2023),
"year_day": knownvalue.Int64Exact(206),
},
)),
},
Expand Down Expand Up @@ -86,21 +86,21 @@ func TestRFC3339Parse_offset(t *testing.T) {
`,
ConfigPlanChecks: resource.ConfigPlanChecks{
PreApply: []plancheck.PlanCheck{
plancheck.ExpectKnownOutputValue("test", knownvalue.ObjectValueExact(
plancheck.ExpectKnownOutputValue("test", knownvalue.ObjectExact(
map[string]knownvalue.Check{
"day": knownvalue.Int64ValueExact(19),
"hour": knownvalue.Int64ValueExact(16),
"iso_week": knownvalue.Int64ValueExact(51),
"iso_year": knownvalue.Int64ValueExact(1996),
"minute": knownvalue.Int64ValueExact(39),
"month": knownvalue.Int64ValueExact(12),
"month_name": knownvalue.StringValueExact("December"),
"second": knownvalue.Int64ValueExact(57),
"unix": knownvalue.Int64ValueExact(851042397),
"weekday": knownvalue.Int64ValueExact(4),
"weekday_name": knownvalue.StringValueExact("Thursday"),
"year": knownvalue.Int64ValueExact(1996),
"year_day": knownvalue.Int64ValueExact(354),
"day": knownvalue.Int64Exact(19),
"hour": knownvalue.Int64Exact(16),
"iso_week": knownvalue.Int64Exact(51),
"iso_year": knownvalue.Int64Exact(1996),
"minute": knownvalue.Int64Exact(39),
"month": knownvalue.Int64Exact(12),
"month_name": knownvalue.StringExact("December"),
"second": knownvalue.Int64Exact(57),
"unix": knownvalue.Int64Exact(851042397),
"weekday": knownvalue.Int64Exact(4),
"weekday_name": knownvalue.StringExact("Thursday"),
"year": knownvalue.Int64Exact(1996),
"year_day": knownvalue.Int64Exact(354),
},
)),
},
Expand Down

0 comments on commit 6eb4f8c

Please sign in to comment.