Skip to content

Commit

Permalink
test fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
EronWright committed Jan 4, 2024
1 parent 3814272 commit cf51343
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion tests/sdk/go/go_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1132,7 +1132,10 @@ func TestOptionPropagation(t *testing.T) {
// quirk: NodeJS SDK applies resource_prefix ("chart-options") to the component itself.
MatchFields(IgnoreExtras, Fields{
"Request": MatchFields(IgnoreExtras, Fields{
"Aliases": HaveExactElements(Alias("chart-options-old"), AliasByType("kubernetes:helm.sh/v2:Chart"), Alias("chart-options-aliased")),
"Aliases": HaveExactElements(
Alias("chart-options-old"),
Alias(tokens.Type("kubernetes:helm.sh/v2:Chart")),
Alias("chart-options-aliased")),
"Protect": BeTrue(),
"Dependencies": HaveExactElements(string(sleep.URN)),
"Provider": BeEquivalentTo(providerUrn(providerA)),
Expand Down
5 changes: 4 additions & 1 deletion tests/sdk/nodejs/nodejs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2484,7 +2484,10 @@ func TestOptionPropagation(t *testing.T) {
// quirk: NodeJS SDK applies resource_prefix ("chart-options") to the component itself.
MatchFields(IgnoreExtras, Fields{
"Request": MatchFields(IgnoreExtras, Fields{
"Aliases": HaveExactElements(AliasByType("kubernetes:helm.sh/v2:Chart"), Alias("chart-options-old"), Alias("chart-options-chart-options-aliased")),
"Aliases": HaveExactElements(
Alias(tokens.Type("kubernetes:helm.sh/v2:Chart")),
Alias("chart-options-old"),
Alias("chart-options-chart-options-aliased")),
"Protect": BeTrue(),
"Dependencies": HaveExactElements(string(sleep.URN)),
"Provider": BeEmpty(),
Expand Down

0 comments on commit cf51343

Please sign in to comment.