Skip to content

Commit

Permalink
Merge pull request #19 from tozny/features/PLAT-143-per-service-e3db-…
Browse files Browse the repository at this point in the history
…clients-routing

Update create account test helper for per service routing changes.
  • Loading branch information
Levi Schoen authored May 6, 2019
2 parents ff4e135 + b8dc907 commit f64e0b2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 97 deletions.
12 changes: 10 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,20 @@ require (
github.com/aws/aws-sdk-go v1.19.8
github.com/fortytw2/leaktest v1.3.0 // indirect
github.com/go-pg/pg v8.0.3+incompatible
github.com/google/go-cmp v0.2.0 // indirect
github.com/google/go-cmp v0.3.0 // indirect
github.com/google/uuid v1.1.0
github.com/jinzhu/inflection v0.0.0-20180308033659-04140366298a // indirect
github.com/kr/pretty v0.1.0 // indirect
github.com/mailru/easyjson v0.0.0-20190403194419-1ea4449da983 // indirect
github.com/olivere/elastic v6.2.17+incompatible
github.com/onsi/ginkgo v1.8.0 // indirect
github.com/onsi/gomega v1.5.0 // indirect
github.com/pkg/errors v0.8.1 // indirect
github.com/robinjoseph08/go-pg-migrations v0.1.2
github.com/stretchr/testify v1.3.0 // indirect
github.com/tozny/e3db-clients-go v0.0.13
github.com/tozny/e3db-clients-go v0.0.18
github.com/tozny/e3db-go/v2 v2.1.1
golang.org/x/net v0.0.0-20181220203305-927f97764cc3 // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
mellium.im/sasl v0.2.1 // indirect
)
93 changes: 0 additions & 93 deletions go.sum

This file was deleted.

5 changes: 3 additions & 2 deletions test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ func MakeHttpRequest(t *testing.T, method string, url string, body interface{},
}

// MakeE3DBAccount attempts to create a valid e3db account returning the root client config for the created account and error (if any).
func MakeE3DBAccount(t *testing.T, accounter *accountClient.E3dbAccountClient, accountTag string) (e3dbClients.ClientConfig, *accountClient.CreateAccountResponse, error) {
func MakeE3DBAccount(t *testing.T, accounter *accountClient.E3dbAccountClient, accountTag string, authNHost string) (e3dbClients.ClientConfig, *accountClient.CreateAccountResponse, error) {
var accountClientConfig = e3dbClients.ClientConfig{
Host: accounter.Host,
Host: accounter.Host,
AuthNHost: authNHost,
}
var accountResponse *accountClient.CreateAccountResponse
// Generate info for creating a new account
Expand Down

0 comments on commit f64e0b2

Please sign in to comment.