Generate new version of SDK resources and Add Tests (#331)
This commit is contained in:
1 parent
96e4b1cdba
commit
c3ecea172d
93 files changed
+3414
-2826
No files matched your search
@@ -103,8 +103,10 @@ func (tc *TestController) Token() *authtokens.AuthToken {
|
||||
token, apiErr, err := authmethods.NewClient(tc.Client()).Authenticate(
|
||||
tc.Context(),
|
||||
tc.b.DevAuthMethodId,
|
||||
tc.b.DevLoginName,
|
||||
tc.b.DevPassword,
|
||||
map[string]interface{}{
|
||||
"login_name": tc.b.DevLoginName,
|
||||
"password": tc.b.DevPassword,
|
||||
},
|
||||
)
|
||||
if err != nil {
|
||||
tc.t.Error(fmt.Errorf("error logging in: %w", err))
|
||||
|
||||
Reference in new issue
Block a user