Skip to content

Commit

Permalink
fix: issues from merge
Browse files Browse the repository at this point in the history
  • Loading branch information
jbrockopp committed Jul 25, 2023
1 parent 8581d6d commit ea17b66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions database/integration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ func testBuilds(t *testing.T, db Interface, resources *Resources) {

// create the repos for build related functions
for _, repo := range resources.Repos {
err := db.CreateRepo(repo)
_, err := db.CreateRepo(repo)
if err != nil {
t.Errorf("unable to create repo %d: %v", repo.GetID(), err)
}
Expand Down Expand Up @@ -723,7 +723,7 @@ func testRepos(t *testing.T, db Interface, resources *Resources) {

// create the repos
for _, repo := range resources.Repos {
err := db.CreateRepo(repo)
_, err := db.CreateRepo(repo)
if err != nil {
t.Errorf("unable to create repo %d: %v", repo.GetID(), err)
}
Expand Down Expand Up @@ -811,7 +811,7 @@ func testRepos(t *testing.T, db Interface, resources *Resources) {
// update the repos
for _, repo := range resources.Repos {
repo.SetActive(false)
err = db.UpdateRepo(repo)
_, err = db.UpdateRepo(repo)
if err != nil {
t.Errorf("unable to update repo %d: %v", repo.GetID(), err)
}
Expand Down

0 comments on commit ea17b66

Please sign in to comment.