Skip to content

Commit

Permalink
rsakey: Expose all ORY Hydra ports in tests
Browse files Browse the repository at this point in the history
Signed-off-by: arekkas <aeneas@ory.am>
  • Loading branch information
arekkas committed Aug 24, 2018
1 parent 71ab30c commit 5f70a0f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rsakey/manager_test.go
Expand Up @@ -140,7 +140,8 @@ func connectToHydra(t *testing.T) *hydra.CodeGenSDK {

resources = append(resources, resource)
sdk, err := hydra.NewSDK(&hydra.Configuration{
AdminURL: "http://localhost:" + resource.GetPort("4444/tcp") + "/",
AdminURL: "http://localhost:" + resource.GetPort("4445/tcp") + "/",
PublicURL: "http://localhost:" + resource.GetPort("4444/tcp") + "/",
})
require.NoError(t, err)
return sdk
Expand Down

0 comments on commit 5f70a0f

Please sign in to comment.