pulumi/pkg/backend
Fraser Waters 501b80911e
Add tests for stackChangeSecretsProviderCmd (#13791)
<!--- 
Thanks so much for your contribution! If this is your first time
contributing, please ensure that you have read the
[CONTRIBUTING](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md)
documentation.
-->

# Description

<!--- Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context. -->

This command is currently untested. This adds a couple of basic tests to
ensure that state and config secrets are changed.

## Checklist

- [x] I have run `make tidy` to update any new dependencies
- [x] I have run `make lint` to verify my code passes the lint check
  - [ ] I have formatted my code using `gofumpt`

<!--- Please provide details if the checkbox below is to be left
unchecked. -->
- [x] I have added tests that prove my fix is effective or that my
feature works
<!--- 
User-facing changes require a CHANGELOG entry.
-->
- [ ] I have run `make changelog` and committed the
`changelog/pending/<file>` documenting my change
<!--
If the change(s) in this PR is a modification of an existing call to the
Pulumi Cloud,
then the service should honor older versions of the CLI where this
change would not exist.
You must then bump the API version in
/pkg/backend/httpstate/client/api.go, as well as add
it to the service.
-->
- [ ] Yes, there are changes in this PR that warrants bumping the Pulumi
Cloud API version
<!-- @Pulumi employees: If yes, you must submit corresponding changes in
the service repo. -->
2023-08-31 08:56:38 +00:00
..
display [engine] Add support for source positions 2023-07-10 14:35:40 -07:00
filestate Add tests for stackChangeSecretsProviderCmd (#13791) 2023-08-31 08:56:38 +00:00
httpstate Adds two new CLI features - search and AI search (#13611) 2023-08-21 15:06:46 +00:00
state [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
apply.go Replace Bail result with BailError (#13811) 2023-08-30 13:18:54 +00:00
apply_test.go Add more detail to update display to indicate `retainOnDelete` usage. 2023-04-05 17:25:23 -07:00
backend.go `pulumi new -s 'org/project/stack'` checks the proper organization for project existence rather than backend.currentUser()'s org. 2023-07-03 09:28:52 -07:00
backend_test.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
cancellation_scope.go Move cancellation_scope to backend 2023-05-09 13:01:42 +01:00
doc.go Document Go packages (#6009) 2021-01-11 11:07:59 -07:00
errors.go Add a link to docs for the 409 Conflict error message (#3207) 2019-09-10 13:25:08 -07:00
mock.go `pulumi new -s 'org/project/stack'` checks the proper organization for project existence rather than backend.currentUser()'s org. 2023-07-03 09:28:52 -07:00
policypack.go [breaking] Changing the version of go.mod in sdk / pkg to be v3 2021-04-14 19:32:18 +01:00
query.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00
snapshot.go [engine] Add support for source positions 2023-07-10 14:35:40 -07:00
snapshot_test.go [engine] Add support for source positions 2023-07-10 14:35:40 -07:00
stack.go [cli] Add project root update metadata 2023-07-17 17:06:41 -07:00
updates.go [cli] Add project root update metadata 2023-07-17 17:06:41 -07:00
watch.go Don't pass a second SecretsProvider to backend.Watch 2023-05-08 20:38:40 +01:00