Skip to content

Commit

Permalink
tests: resolve issue with postgresql connectivity
Browse files Browse the repository at this point in the history
  • Loading branch information
arekkas committed Oct 25, 2017
1 parent 0861ca2 commit 8f6e92e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

[[constraint]]
name = "github.com/ory/ladon"
version = "0.8.2"
version = "0.8.3"

[[constraint]]
name = "github.com/pborman/uuid"
Expand Down
2 changes: 1 addition & 1 deletion integration/sql_schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func TestSQLSchema(t *testing.T) {
require.NoError(t, err)

require.NoError(t, jm.AddKey("integration-test-foo", jwk.First(p1)))
require.NoError(t, pm.Create(&ladon.DefaultPolicy{ID: "integration-test-foo"}))
require.NoError(t, pm.Create(&ladon.DefaultPolicy{ID: "integration-test-foo", Resources: []string{"foo"}, Actions: []string{"bar"}, Subjects: []string{"baz"}, Effect: "allow"}))
require.NoError(t, cm.CreateClient(&client.Client{ID: "integration-test-foo"}))
require.NoError(t, crm.PersistConsentRequest(&oauth2.ConsentRequest{ID: "integration-test-foo"}))
require.NoError(t, om.CreateAccessTokenSession(nil, "asdfasdf", r))
Expand Down

0 comments on commit 8f6e92e

Please sign in to comment.