Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Hume committed Oct 31, 2023
1 parent af4cff7 commit 2938f03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/resources/resource_materialized_view_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ func TestResourceMaterializedViewUpdate(t *testing.T) {

testhelpers.WithMockDb(t, func(db *sqlx.DB, mock sqlmock.Sqlmock) {
mock.ExpectExec(`ALTER MATERIALIZED VIEW "database"."schema"."" RENAME TO "materialized_view";`).WillReturnResult(sqlmock.NewResult(1, 1))
mock.ExpectExec(`ALTER MATERIALIZED VIEW "database"."schema"."old_materialized_view" SET CLUSTER "cluster";`).WillReturnResult(sqlmock.NewResult(1, 1))

// Query Params
pp := `WHERE mz_materialized_views.id = 'u1'`
Expand Down

0 comments on commit 2938f03

Please sign in to comment.