Skip to content

Commit

Permalink
cl
Browse files Browse the repository at this point in the history
  • Loading branch information
vhvb1989 committed Jul 21, 2023
1 parent 74ca8b6 commit e55b10d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 32 deletions.
4 changes: 4 additions & 0 deletions cli/azd/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## 1.1.1 (Unreleased)

### Features Added

- [[2550]](https://github.com/Azure/azure-dev/pull/2550) Add `--preview` to `azd provision` to get the changes

## 1.1.0 (2023-07-12)

### Features Added
Expand Down
31 changes: 0 additions & 31 deletions cli/azd/pkg/output/ux/preview_provision_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,34 +48,3 @@ func TestPreviewProvisionNoChanges(t *testing.T) {
output := pp.ToString(" ")
require.Equal(t, "", output)
}

func TestPreviewProvisionJson(t *testing.T) {
pp := &PreviewProvision{
Operations: []*Resource{
{
Type: "some Azure resource",
Name: "resource name",
Operation: OperationTypeCreate,
},
{
Type: "Key Vault",
Name: "resource name 2",
Operation: OperationTypeIgnore,
},
{
Type: "Other",
Name: "resource name 3",
Operation: OperationTypeModify,
},
{
Type: "Other",
Name: "resource name 3",
Operation: OperationTypeDelete,
},
},
}

output, err := pp.MarshalJSON()
require.NoError(t, err)
snapshot.SnapshotT(t, output)
}

This file was deleted.

0 comments on commit e55b10d

Please sign in to comment.