gitea/modules/setting
zeripath ef11d41639
Make CI use a dummy password hasher for all tests (#22983)
During the recent hash algorithm change it became clear that the choice
of password hash algorithm plays a role in the time taken for CI to run.

Therefore as attempt to improve CI we should consider using a dummy
hashing algorithm instead of a real hashing algorithm.

This PR creates a dummy algorithm which is then set as the default
hashing algorithm during tests that use the fixtures. This hopefully
will cause a reduction in the time it takes for CI to run.

---------

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
2023-02-20 13:20:30 +08:00
..
actions.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
admin.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
api.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
attachment.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
cache.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
camo.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
config_provider.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
cors.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
cron.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
cron_test.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
database.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
database_sqlite.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
database_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
federation.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
git.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
highlight.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
i18n.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
incoming_email.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
indexer.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
indexer_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
lfs.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
log.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
mailer.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
mailer_test.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
markup.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
metrics.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
migrations.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
mime_type_map.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
mirror.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
oauth2.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
other.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
packages.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
packages_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
picture.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
project.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
proxy.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
queue.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
repository.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
security.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
server.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
service.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
session.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
setting.go Make CI use a dummy password hasher for all tests (#22983) 2023-02-20 13:20:30 +08:00
setting_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
ssh.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
storage.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
storage_test.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
task.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
time.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
ui.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00
webhook.go Refactor the setting to make unit test easier (#22405) 2023-02-20 00:12:01 +08:00