Skip to content

Commit

Permalink
unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
daithihearn committed Dec 9, 2023
1 parent 025cc01 commit 2249fb4
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ docs: #@ Generate docs
.PHONY:docs
test: fmt vet #@ Run tests
go test -coverprofile=coverage.out ./...
go tool cover -html=coverage.out -o coverage.html
grep -v "_mocks.go" coverage.out > filtered_coverage.out
go tool cover -html=filtered_coverage.out -o coverage.html

.PHONY:test
fmt: #@ Format the code
go fmt ./...
Expand Down
2 changes: 1 addition & 1 deletion docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ const docTemplate = `{

// SwaggerInfo holds exported Swagger Info so clients can modify it
var SwaggerInfo = &swag.Spec{
Version: "2.1.18",
Version: "2.1.19",
Host: "",
BasePath: "/api/v1",
Schemes: []string{},
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Returns PVPC electricity prices for a given range",
"title": "Electricity Prices API",
"contact": {},
"version": "2.1.18"
"version": "2.1.19"
},
"basePath": "/api/v1",
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ info:
contact: {}
description: Returns PVPC electricity prices for a given range
title: Electricity Prices API
version: 2.1.18
version: 2.1.19
paths:
/alexa:
get:
Expand Down

0 comments on commit 2249fb4

Please sign in to comment.