Add company_country to trial license fetch (#30471)

Automatic Merge
Этот коммит содержится в:
Nick Misasi
2025-03-13 17:36:33 -04:00
коммит произвёл GitHub
родитель ccd8a60168
Коммит b5a4147847

Просмотреть файл

@@ -81,9 +81,16 @@ Cypress.Commands.add('apiInstallTrialLicense', () => {
url: '/api/v4/trial-license',
method: 'POST',
body: {
trialreceive_emails_accepted: true,
receive_emails_accepted: true,
terms_accepted: true,
users: Cypress.env('numberOfTrialUsers'),
// Enriched fields required for trial license as of v10.7
company_country: 'US',
company_name: 'mattermost',
contact_email: 'test@mattermost.com',
company_size: '1-10',
contact_name: 'John Doe',
},
}).then((response) => {
expect(response.status).to.equal(200);