issues
search
augustin-wien
/
augustina-backend
An open-source web shop designed for selling magazines on the street.
GNU Affero General Public License v3.0
7
stars
0
forks
source link
Converting tests
#24
Closed
lebe1
closed
1 year ago
lebe1
commented
1 year ago
Type of change
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update
Description
Removes tests from
main_test.go
Moves code from
main.go
to
handlers.go
Creates new test file
handlers_test.go
Adds test for database queries
Checklist:
[x] I have commented my code (or ChatGPT did), particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings, neither in my IDE nor in my browser
[x] I have added tests that prove my fix is effective or that my feature works
Type of change
Description
main_test.go
main.go
tohandlers.go
handlers_test.go
Checklist: