Skip to content

Commit

Permalink
fix(tests): 🐛 fixing unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rcarvalh0 committed Jun 14, 2024
1 parent 5dae12d commit 17df46a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/act.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v3
- name: Build and push Docker image
run: |
docker build -t src/sample-go-docker .
docker build -t src/sample-go-docker/Dockerfile .
docker push src/sample-go-docker
# - name: Deploy to Render.com
# uses: render-actions/deploy@v1
Expand Down
2 changes: 1 addition & 1 deletion src/sample-go-docker/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestHandler(t *testing.T) {
status, http.StatusOK)
}

expected := "Hello, World!"
expected := "Victor!"
if rr.Body.String() != expected {
t.Errorf("handler returned unexpected body: got %v want %v",
rr.Body.String(), expected)
Expand Down

0 comments on commit 17df46a

Please sign in to comment.