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 1023fff
Showing 1 changed file with 1 addition and 1 deletion.
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 1023fff

Please sign in to comment.