Skip to content

Commit

Permalink
Update workspace_resources_integration_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonc committed Sep 13, 2024
1 parent 5d526ab commit 51220c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions workspace_resources_integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ func TestWorkspaceResourcesList(t *testing.T) {
assert.Equal(t, 1, rs.CurrentPage)
assert.Equal(t, 1, rs.TotalCount)

assert.Equal(t, "null_resource.test", rs.Items[0].Address)
assert.Equal(t, "test", rs.Items[0].Name)
assert.Equal(t, "root", rs.Items[0].Module)
assert.Equal(t, "null", rs.Items[0].Provider)
assert.Equal(t, "media_bucket.aws_s3_bucket_public_access_block.this[0]", rs.Items[0].Address)
assert.Equal(t, "this", rs.Items[0].Name)
assert.Equal(t, "media_bucket", rs.Items[0].Module)
assert.Equal(t, "hashicorp/aws", rs.Items[0].Provider)
})
t.Run("with list options", func(t *testing.T) {
rs, err := client.WorkspaceResources.List(ctx, wTest.ID, &WorkspaceResourceListOptions{
Expand Down

0 comments on commit 51220c5

Please sign in to comment.