make it so the vpp token can't expire (#30298)
> No issue, fixes broken test # Checklist for submitter If some of the following don't apply, delete the relevant line. <!-- Note that API documentation changes are now addressed by the product design team. --> - [x] Added/updated automated tests
This commit is contained in:
@@ -11071,7 +11071,8 @@ func (s *integrationMDMTestSuite) TestBatchAssociateAppStoreApps() {
|
||||
// Valid token
|
||||
orgName := "Fleet Device Management Inc."
|
||||
token := "mycooltoken"
|
||||
expDate := "2025-06-24T15:50:50+0000"
|
||||
expTime := time.Now().Add(200 * time.Hour).UTC().Round(time.Second)
|
||||
expDate := expTime.Format(fleet.VPPTimeFormat)
|
||||
tokenJSON := fmt.Sprintf(`{"expDate":"%s","token":"%s","orgName":"%s"}`, expDate, token, orgName)
|
||||
t.Setenv("FLEET_DEV_VPP_URL", s.appleVPPConfigSrv.URL)
|
||||
var vppRes uploadVPPTokenResponse
|
||||
|
||||
Reference in New Issue
Block a user