mirror of
https://github.com/goharbor/harbor.git
synced 2024-10-02 15:27:42 +02:00
Clear up the table before doing dao test
Clear up the table before doing dao test Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
b66b1f341e
commit
02dd4e500a
@ -34,7 +34,7 @@ func TestMain(m *testing.M) {
|
||||
"job_log", "project", "project_member", "project_metadata", "properties", "registry",
|
||||
"replication_immediate_trigger", "replication_job", "replication_policy", "replication_policy_ng",
|
||||
"replication_target", "repository", "robot", "role", "schema_migrations", "user_group",
|
||||
"replication_execution", "replication_task", "replication_schedule_job";`,
|
||||
"replication_execution", "replication_task", "replication_schedule_job", "oidc_user";`,
|
||||
`DROP FUNCTION "update_update_time_at_column"();`,
|
||||
}
|
||||
dao.PrepareTestData(clearSqls, nil)
|
||||
|
Loading…
Reference in New Issue
Block a user