Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

e2e coverage for BatchIssueCode API #1376

Merged
merged 15 commits into from
Dec 16, 2020

Conversation

whaught
Copy link
Contributor

@whaught whaught commented Dec 15, 2020

Proposed Changes

  • Adds integration and e2e test coverage of the BatchIssueCode API

Release Note

Integration / e2e test cases for BatchIssueCode

@google-cla google-cla bot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Dec 15, 2020
@whaught whaught changed the title [WIP] E2E coverage for bulk issue e2e coverage for batch issue API Dec 15, 2020
@whaught whaught changed the title e2e coverage for batch issue API e2e coverage for BatchIssueCode API Dec 15, 2020
@@ -46,6 +46,24 @@ func IssueCode(ctx context.Context, hostname, apiKey string, request *api.IssueC
return &response, nil
}

// BatchIssueCode uses the ADMIN API to issue a multiple verification codes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: s/a multiple/multiple

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mariliamelo, whaught

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [mariliamelo,whaught]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-robot google-oss-robot merged commit 3ffdcc6 into google:main Dec 16, 2020
@@ -353,6 +353,11 @@ func (r *Realm) BeforeSave(tx *gorm.DB) error {
r.AddError("smsTextTemplate", fmt.Sprintf("no label for template %s", *t))
continue
}
if l == DefaultTemplateLabel {
r.AddError("SMSTextTemplate", fmt.Sprintf("no label for template %s", *t))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is smsTextTemplate now

@whaught whaught deleted the WellItWorkedOnMyMachine branch December 16, 2020 23:59
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 18, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants