add comments for constructors and fix typo

This commit is contained in:
Pascal Fischer
2023-02-28 15:46:08 +01:00
parent 9d7b515b26
commit c26cd3b9fe
9 changed files with 27 additions and 22 deletions

View File

@ -61,8 +61,8 @@ var testingAccount = &server.Account{
},
}
func initRoutesTestData() *RoutesHanlder {
return &RoutesHanlder{
func initRoutesTestData() *RoutesHandler {
return &RoutesHandler{
accountManager: &mock_server.MockAccountManager{
GetRouteFunc: func(_, routeID, _ string) (*route.Route, error) {
if routeID == existingRouteID {