Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

test: fix TestVCS (#3406)

Yilong Li277550792efd
diff --git a/tests/schema_update_test.go b/tests/schema_update_test.go
index 97db4261b3..a813da9c60 100644
--- a/tests/schema_update_test.go
+++ b/tests/schema_update_test.go
@@ -287,7 +287,7 @@ func TestVCS(t *testing.T) {
repositoryFullPath: "test/schemaUpdate",
newWebhookPushEvent: func(added [][]string, modified [][]string) interface{} {
var commitList []gitlab.WebhookCommit
- for i := range commitList {
+ for i := range added {
commitList = append(commitList, gitlab.WebhookCommit{
Timestamp: time.Now().Format(time.RFC3339),
AddedList: added[i],