Skip to content

Commit 7d0491f

Browse files
authored
[Fix] Fix Permissions Dashboard Test (#4071)
## Changes <!-- Summary of your changes that are easy to understand --> It seems like we need to specify the `serialized_dashboard` field to be able to create the dashboard. I have raised this concern with the responsible team. But for unblocking our integration tests we can specify this for now. ## Tests <!-- How is this tested? Please see the checklist below and also describe any other relevant tests --> Integration Tests Passing - [x] `make test` run locally - [x] covered with integration tests in `internal/acceptance` - [x] relevant acceptance tests are passing
1 parent 481d460 commit 7d0491f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

internal/acceptance/permissions_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,7 @@ func TestAccPermissions_Dashboard(t *testing.T) {
722722
display_name = "TF New Dashboard"
723723
warehouse_id = "{env.TEST_DEFAULT_WAREHOUSE_ID}"
724724
parent_path = databricks_directory.this.path
725+
serialized_dashboard = "{\"pages\":[{\"name\":\"b532570b\",\"displayName\":\"New Page\"}]}"
725726
}
726727
`
727728
WorkspaceLevel(t, Step{

0 commit comments

Comments
 (0)