Skip to content

Commit c31d9be

Browse files
authored
chore: Fix Tests in table_diff (#9708)
#### Summary Fix tests in its own PR, so in the next pr #9709 I can safely change the logic
1 parent 5ab4d81 commit c31d9be

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

scripts/table_diff/changes/changes_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,15 @@ func Test_getChanges(t *testing.T) {
189189
wantChanges: []change{
190190
{
191191
Text: "Table `gcp_resourcemanager_projects`: primary key constraint added to column `name`",
192-
Breaking: false,
192+
Breaking: true,
193193
},
194194
{
195195
Text: "Table `gcp_resourcemanager_projects`: primary key constraint added to column `project_id`",
196-
Breaking: false,
196+
Breaking: true,
197197
},
198198
{
199199
Text: "Table `gcp_resourcemanager_projects`: primary key constraint removed from column `_cq_id`",
200-
Breaking: false,
200+
Breaking: true,
201201
},
202202
},
203203
},
@@ -211,15 +211,15 @@ func Test_getChanges(t *testing.T) {
211211
},
212212
{
213213
Text: "Table `aws_ses_configuration_sets`: primary key constraint removed from column `account_id`",
214-
Breaking: false,
214+
Breaking: true,
215215
},
216216
{
217217
Text: "Table `aws_ses_configuration_sets`: primary key constraint removed from column `name`",
218-
Breaking: false,
218+
Breaking: true,
219219
},
220220
{
221221
Text: "Table `aws_ses_configuration_sets`: primary key constraint removed from column `region`",
222-
Breaking: false,
222+
Breaking: true,
223223
},
224224
},
225225
},

0 commit comments

Comments
 (0)