mirror of
https://github.com/gogs/gogs.git
synced 2025-05-25 17:00:55 +00:00
parent
5df9668063
commit
ada1083462
@ -148,6 +148,8 @@ func actionsCommitRepo(t *testing.T, db *actions) {
|
||||
|
||||
now := time.Unix(1588568886, 0).UTC()
|
||||
|
||||
conf.SetMockSSH(t, conf.SSHOpts{})
|
||||
|
||||
t.Run("new commit", func(t *testing.T) {
|
||||
t.Cleanup(func() {
|
||||
err := db.Session(&gorm.Session{AllowGlobalUpdate: true}).WithContext(ctx).Delete(new(Action)).Error
|
||||
|
Loading…
x
Reference in New Issue
Block a user