]> source.dussan.org Git - gitea.git/commit
Test query must have "order by" explicitly to avoid unstable results (#24963)
authorwxiaoguang <wxiaoguang@gmail.com>
Mon, 29 May 2023 03:20:57 +0000 (11:20 +0800)
committerGitHub <noreply@github.com>
Mon, 29 May 2023 03:20:57 +0000 (03:20 +0000)
commitad13df36b72f48e844d7e8579e44e61ba4b62835
treeac532f25b4baa6419824190173ee7e3f9ce9c0b3
parent84c8ab9fd109145d04d0c58cadd46160f1ee9263
Test query must have "order by" explicitly to avoid unstable results (#24963)

The query must have the "ORDER BY", otherwise the result is not
deterministic.

Replace "interface{}" with "any" by the way.
models/unittest/unit_tests.go