fix some tests, split up and refactor

some wonky regression introduced by docker dependencies when running on darwin. see https://github.com/ory/dockertest/issues/212 for more info.
will have a look at this next
This commit is contained in:
Simon Aronsson 2020-11-15 23:27:32 +01:00
parent 83aa420996
commit 6b9fd8d7ef
No known key found for this signature in database
GPG key ID: 8DA57A5FD341605B
12 changed files with 389 additions and 225 deletions

View file

@ -0,0 +1,6 @@
package types
type RegistryCredentials struct {
Username string
Password string // usually a token rather than an actual password
}

View file

@ -0,0 +1,5 @@
package types
type TokenResponse struct {
Token string `json:"token"`
}