google / google/GoogleSignIn-iOS

Avoid using mock GIDGoogleUser on GIDSignInTest

Open
#306 0 comments 0 reactions 1 assignee Claimed by @henryhl22321 View on GitHub
enhancement triage
Dominant language
Objective-C
Stars
750
Forks
282
Avg merge
2d 15h
Merged PRs (30d)
9

Description

Currently the GIDSignInTest using [mock GIDGoogleUser](https://github.com/google/GoogleSignIn-iOS/blob/main/GoogleSignIn/Tests/Unit/GIDSignInTest.m#L1377-L1383) on user sign in process, which makes it hard to verify the value of the signed in user. For improving the test quality, we should create a real GIDGoogleUser object instead of a mock user on GIDSignInTest.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.