summary refs log tree commit diff stats
path: root/svc/init_test.go
Commit message (Collapse)AuthorAgeFilesLines
* updating module to live at sourcehutBen Morrison2020-06-201-7/+9
| | | | | | Also moving the 'registry' library into this repo, rather than maintaining them separately. It will still be decoupled, just live in this repository.
* decoupled tests from personal twtxt.txtBen Morrison2019-12-191-5/+5
| | | | | | | | Rather than use my personal twtxt.txt file, I'm using the mocked twtxt.txt file I just added to the repository for test data. It is being fetched via https from github to avoid having to get rid of the url validity check in the associated registry library.
* license notice at top of each fileBen Morrison2019-07-111-0/+19
|
* updated internal functionality for registry v0.4.0 v0.4.4Ben Morrison2019-06-191-3/+3
|
* changes related to registry-v0.3.0 v0.4.3Ben Morrison2019-06-181-2/+2
|
* removed unused func/varBen Morrison2019-06-121-7/+0
|
* separate request and message logBen Morrison2019-06-121-0/+1
|
* testing simple error log functionBen Morrison2019-06-121-0/+15
|
* cache.go tests finishedBen Morrison2019-06-111-9/+31
|
* eliminated confObj.LastCache and confObj.LastPush. Unneeded when using ↵Ben Morrison2019-06-111-4/+0
| | | | ticker for intervals.
* refactored initConfig()Ben Morrison2019-06-101-1/+0
|
* handler unit tests finishedBen Morrison2019-06-091-0/+1
|
* setting version via build flagsBen Morrison2019-06-091-3/+2
|
* moving mock registry creation to its own funcBen Morrison2019-06-091-0/+9
|
* explicit init of static assets and test template init were removed: redundantBen Morrison2019-06-091-9/+3
|
* init staticAssets explicitly on startupBen Morrison2019-06-091-0/+1
|
* cache-related testsBen Morrison2019-06-091-4/+2
|
* using sync.Once for DB init in tests, cleaned up test config initBen Morrison2019-06-091-32/+18
|
* test config init using sync.OnceBen Morrison2019-06-091-3/+5
|
* updated tests to work with new project structureBen Morrison2019-06-061-2/+85
|
* fixed some import commentsBen Morrison2019-06-051-1/+1
|
* moved bulk of code to its own package to clean up source treeBen Morrison2019-06-051-0/+27