Add names to init output (#428)
This commit is contained in:
1 parent
7fcbffbe88
commit
41a3c66ea1
5 files changed
+121
-95
No files matched your search
@@ -395,15 +395,15 @@ func NewTestController(t *testing.T, opts *TestControllerOpts) *TestController {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if !opts.DisableAuthMethodCreation {
|
||||
if err := tc.b.CreateInitialAuthMethod(ctx); err != nil {
|
||||
if _, _, err := tc.b.CreateInitialAuthMethod(ctx); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if !opts.DisableScopesCreation {
|
||||
if err := tc.b.CreateInitialScopes(ctx); err != nil {
|
||||
if _, _, err := tc.b.CreateInitialScopes(ctx); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if !opts.DisableHostResourcesCreation {
|
||||
if err := tc.b.CreateInitialHostResources(ctx); err != nil {
|
||||
if _, _, _, err := tc.b.CreateInitialHostResources(ctx); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
if !opts.DisableTargetCreation {
|
||||
|
||||
Reference in new issue
Block a user