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

Add some pagination tests #88

Open
instantiator opened this issue Dec 6, 2022 · 0 comments
Open

Add some pagination tests #88

instantiator opened this issue Dec 6, 2022 · 0 comments

Comments

@instantiator
Copy link
Contributor

instantiator commented Dec 6, 2022

Hey there - I've been using pagination a bit when retrieving things like Notifications.

I struggled a little with the Mastodon API documentation I've found so far (in particular, the difference between minId and sinceId), so I decided to write a few small tests to help illustrate this.

I'm definitely using minId incorrectly, which is why that particular test fails. It'd be good to understand it a bit better, but in the meantime I figured you might want to add some pagination tests to your solution, to illustrate how to use it.

Feel free to borrow from what I've written if it's easier: instantiator#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant