这是indexloc提供的服务,不要输入任何密码
Skip to content

Auth Emulator batchGet should return nextPageToken if page is full #3231

@yuchenshi

Description

@yuchenshi

Expected Behavior

If there are enough users to fill a whole page size (whatever that is), a nextPageToken should be returned even if the next page would be empty. (I've tested in production and this is the behavior indeed.)

Actual Behavior

The Auth Emulator returns no page token if number of users is same as page size. This causes tests failures like https://github.com/firebase/firebase-admin-node/pull/1204/checks?check_run_id=2189478758.

We had to disable that tests for now (firebase/firebase-admin-node#1205) and that should be reverted after the fix land in a release.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions