Skip to content

Commit

Permalink
docs: remove println
Browse files Browse the repository at this point in the history
  • Loading branch information
addetz committed Sep 5, 2024
1 parent 3c70d7e commit 124dd47
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions endpoints/counterRoute_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,6 @@ func TestCounterHTTPHandlerGETAllPages(t *testing.T) {
t.Errorf("Error unmarshalling response: %s", err)
}

fmt.Println(result)

if result.Total == 0 {
t.Errorf("handler returned unexpected body: got %v want %v",
result.Total, 0)
Expand Down Expand Up @@ -149,8 +147,6 @@ func TestCounterHTTPHandlerGETOnePage(t *testing.T) {
t.Errorf("Error unmarshalling response: %s", err)
}

fmt.Println(result)

if result.Total == 0 {
t.Errorf("handler returned unexpected body: got %v want %v",
result.Total, 0)
Expand Down
1 change: 0 additions & 1 deletion endpoints/helpers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ func CreatePostgresTestContainer() (*postgres.PostgresContainer, error) {
}

// StartTestDB returns a new database connection to the counter database.
// A local database is required to run the tests.
func StartTestDB(container *postgres.PostgresContainer) (*sqlx.DB, error) {
ctx := context.Background()
connection, err := container.ConnectionString(ctx,
Expand Down

0 comments on commit 124dd47

Please sign in to comment.