Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mustGenerateCredentials (0.12 sec)

  1. cmd/admin-handlers-users_test.go

    	}
    }
    
    func (s *TestSuiteIAM) TestUserCreate(c *check) {
    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	// 1. Create a user.
    	accessKey, secretKey := mustGenerateCredentials(c)
    	err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// 2. Check new user appears in listing
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 22 00:33:43 UTC 2024
    - 47.3K bytes
    - Viewed (0)
Back to top