Skip to content

Commit

Permalink
all: Properly import mysql/pg drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed May 18, 2018
1 parent 2b43ce3 commit 669f134
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import (
"log"
"testing"

_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
"github.com/ory/fosite"
. "github.com/ory/hydra/client"
"github.com/ory/sqlcon/dockertest"
Expand Down
2 changes: 2 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ import (
"strings"
"time"

_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
"github.com/ory/fosite"
foauth2 "github.com/ory/fosite/handler/oauth2"
"github.com/ory/fosite/token/hmac"
Expand Down
2 changes: 2 additions & 0 deletions consent/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import (
"testing"
"time"

_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
"github.com/ory/fosite"
"github.com/ory/hydra/client"
"github.com/ory/sqlcon/dockertest"
Expand Down
2 changes: 2 additions & 0 deletions integration/sql_schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import (
"testing"
"time"

_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
"github.com/ory/fosite"
"github.com/ory/hydra/client"
"github.com/ory/hydra/consent"
Expand Down
2 changes: 2 additions & 0 deletions jwk/manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import (
"log"
"testing"

_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
. "github.com/ory/hydra/jwk"
"github.com/ory/sqlcon/dockertest"
)
Expand Down
2 changes: 2 additions & 0 deletions oauth2/fosite_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ import (
"testing"
"time"

_ "github.com/go-sql-driver/mysql"
_ "github.com/lib/pq"
"github.com/ory/fosite"
"github.com/ory/hydra/client"
. "github.com/ory/hydra/oauth2"
Expand Down

0 comments on commit 669f134

Please sign in to comment.