feat: adding integration tests

This commit is contained in:
2025-08-25 13:42:30 +01:00
parent a78f766122
commit 769f3981cd
3 changed files with 679 additions and 20 deletions

View File

@@ -104,7 +104,7 @@ func GetPathParamID(logger *log.Logger, param string, w http.ResponseWriter, r *
}
uuidParam, err := uuid.Parse(pathParam)
if len(pathParam) == 0 {
if err != nil {
w.WriteHeader(http.StatusBadRequest)
err := fmt.Errorf("could not parse param: %w", err)