Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-02 23:06:11 +01:00
forgejo/modules/indexer/issues
Gusted 4c67023c7e
tests: improve actvititypub integration test code
- Make use of `test.MockVariableValue` to override variables for the
duration of the test.
- Don't needlessly call `onGiteaRun`, its only needed when a HTTP server
needs to be called by the code.
- When `onGiteaRun` is used, make use of the passed parameters, such as
the passed `*testing.T` variable and `*url.URL` (this also avoids
needing to serve the routers in the test code again).
- Use `(*url.URL).JoinPath` to craft new URLs.
- Don't override `setting.AppURL` & `setting.Database.LogSQL` when its
does not affect the test.
- Add empty fixture files for `FederatedUser` & `FederationHost` so they
are truncated and do not persist between tests.
2024-11-01 22:39:49 +01:00
..
bleve Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
db Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00
elasticsearch Merge pull request '[gitea] week 2024-23 cherry pick (gitea/main -> forgejo)' (#3989) from earl-warren/wcp/2024-23 into forgejo 2024-06-04 07:40:35 +00:00
internal Add testifylint to lint checks (#4535) 2024-07-30 19:41:10 +00:00
meilisearch fix: breaking changes with meili (#5073) 2024-08-22 19:38:00 +00:00
dboptions.go Properly filter issue list given no assignees filter (#31522) 2024-07-28 07:24:21 +02:00
indexer.go Add codespell support and fix a good number of typos with its help (#3270) 2024-05-09 13:49:37 +00:00
indexer_test.go tests: improve actvititypub integration test code 2024-11-01 22:39:49 +01:00
util.go Rename project board -> column to make the UI less confusing (#30170) 2024-06-02 09:42:39 +02:00