func setMockLoginSourceFilesStore is unused
32 })
33}
34
35func setMockLoginSourceFilesStore(t *testing.T, db *loginSources, mock loginSourceFilesStore) {36 before := db.files
37 db.files = mock
38 t.Cleanup(func() {
func setMockLoginSourcesStore is unused
24 })
25}
26
27func setMockLoginSourcesStore(t *testing.T, mock LoginSourcesStore) {28 before := LoginSources
29 LoginSources = mock
30 t.Cleanup(func() {
Description
It is recommended to keep the codebase clean by removing unused code.
This part of the code has not been used anywhere in the project and is not exported. Maybe it was mistakenly left behind while refactoring or was intended to be used somewhere but remained unused by mistake.