gitea/models/unittest
wxiaoguang 633785a5f3
Refactor markup render system ()
This PR removes (almost) all path tricks, and introduces "renderhelper"
package.

Now we can clearly see the rendering behaviors for comment/file/wiki,
more details are in "renderhelper" tests.

Fix  , fix , fix  and maybe more problems. (ps: fix
 by the way)
..
consistency.go Replace assert.Fail with assert.FailNow ()
fixtures.go Fix db engine ()
fscopy.go Reduce integration test overhead ()
reflection.go Replace `interface{}` with `any` ()
testdb.go Reduce integration test overhead ()
unit_tests.go Refactor markup render system ()