Skip to content

Commit

Permalink
Merge pull request #102 from rhmdnd/fix-test-packaging
Browse files Browse the repository at this point in the history
Restructure test packaging
  • Loading branch information
openshift-merge-robot authored Jul 21, 2022
2 parents 5f9123d + dc56430 commit 91fc82f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/integration/helpers.go → tests/helpers.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package integration_test // nolint:typecheck
package tests

type Subject struct {
ID string
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package integration_test // nolint:typecheck
package tests // nolint:testpackage

import (
"database/sql"
Expand Down Expand Up @@ -72,7 +72,7 @@ func getMigrationHelper(t *testing.T) *migrate.Migrate {
if err != nil {
t.Skip("Unable to initialize database driver for migrations")
}
m, err := migrate.NewWithDatabaseInstance("file://../../migrations", "postgres", driver)
m, err := migrate.NewWithDatabaseInstance("file://../migrations", "postgres", driver)
if err != nil {
t.Skip("Unable to initialize migrations")
}
Expand Down

0 comments on commit 91fc82f

Please sign in to comment.