Fix markup render regression and fix some tests (#32640)
Fix #32639, https://github.com/go-gitea/gitea/issues/32608#issuecomment-2497918210 By the way, fix some incorrect SQLs (use single quote but not double quote)
This commit is contained in:
parent
5d57c287fb
commit
44909f6e2c
6 changed files with 37 additions and 23 deletions
|
@ -256,7 +256,7 @@ func TestConsistencyUpdateAction(t *testing.T) {
|
|||
unittest.AssertExistsAndLoadBean(t, &activities_model.Action{
|
||||
ID: int64(id),
|
||||
})
|
||||
_, err := db.GetEngine(db.DefaultContext).Exec(`UPDATE action SET created_unix = "" WHERE id = ?`, id)
|
||||
_, err := db.GetEngine(db.DefaultContext).Exec(`UPDATE action SET created_unix = '' WHERE id = ?`, id)
|
||||
assert.NoError(t, err)
|
||||
actions := make([]*activities_model.Action, 0, 1)
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue