Skip to content

move PhoneNumberAlreadyInUse to verification_service.go #504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

MatousJobanek
Copy link
Contributor

  • moves the PhoneNumberAlreadyInUse method into verification_service.go (it's used only there)
  • transforms it into a standalone function
  • moves & improves the unit tests

Copy link

openshift-ci bot commented Feb 5, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: alexeykazakov, MatousJobanek, xcoulon

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 [MatousJobanek,alexeykazakov,xcoulon]

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

@alexeykazakov
Copy link
Contributor

/retest

Copy link

sonarqubecloud bot commented Feb 5, 2025

Copy link

codecov bot commented Feb 5, 2025

Codecov Report

Attention: Patch coverage is 90.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 85.34%. Comparing base (28e6445) to head (e337618).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
pkg/verification/service/verification_service.go 90.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #504      +/-   ##
==========================================
+ Coverage   85.11%   85.34%   +0.22%     
==========================================
  Files          32       32              
  Lines        3118     3118              
==========================================
+ Hits         2654     2661       +7     
+ Misses        376      371       -5     
+ Partials       88       86       -2     
Flag Coverage Δ
unittests 85.34% <90.00%> (+0.22%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@openshift-merge-bot openshift-merge-bot bot merged commit dfce878 into codeready-toolchain:master Feb 5, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants