Skip to content
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

tests: email/password resend user confirmation email #521

Merged
merged 55 commits into from
May 5, 2022

Conversation

desistefanova
Copy link
Contributor

Create tests for email/password - confirm user after resend user confirmation email.

@cla-bot cla-bot bot added the cla: yes label Apr 28, 2022
@desistefanova desistefanova requested review from blagoev, nirinchev and nielsenko and removed request for blagoev and nirinchev April 28, 2022 23:15
@coveralls
Copy link

coveralls commented Apr 28, 2022

Pull Request Test Coverage Report for Build 2277136314

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 93.677%

Totals Coverage Status
Change from base Build 2277097716: 0.0%
Covered Lines: 400
Relevant Lines: 427

💛 - Coveralls

lib/src/native/realm_core.dart Outdated Show resolved Hide resolved
test/credentials_test.dart Outdated Show resolved Hide resolved
test/credentials_test.dart Outdated Show resolved Hide resolved
test/credentials_test.dart Outdated Show resolved Hide resolved
test/credentials_test.dart Outdated Show resolved Hide resolved
@desistefanova desistefanova changed the base branch from master to retry_custom_confirmation_function_tests May 4, 2022 23:36
@desistefanova desistefanova changed the base branch from retry_custom_confirmation_function_tests to master May 4, 2022 23:38
@desistefanova desistefanova changed the base branch from master to retry_custom_confirmation_function_tests May 4, 2022 23:38
@@ -22,13 +22,13 @@ import 'package:test/test.dart' hide test, throws;
import '../lib/realm.dart';
import 'test.dart';

Future<User> retryLogin(int retries, Future<User> Function(Credentials credentials) doFunction, Credentials credentials) async {
Future<User> loginWithRetry(App app, Credentials credentials, int retryCount) async {
Copy link
Member

Choose a reason for hiding this comment

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

It's a good idea to make the retryCount optional here or even hardcode it to some value. The only reason to have a retryCount is to make sure we don't retry forever, but there's no reason for consumers of the method to control the value.

Copy link
Contributor

Choose a reason for hiding this comment

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

+1

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Base automatically changed from retry_custom_confirmation_function_tests to master May 5, 2022 16:57
@desistefanova desistefanova merged commit 5494c94 into master May 5, 2022
@desistefanova desistefanova deleted the email_resend_confirm_tests branch May 5, 2022 18:57
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants