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 a test using a sync token for relations. #586

Merged
merged 7 commits into from
Jan 27, 2023
Merged

Conversation

clokep
Copy link
Member

@clokep clokep commented Jan 18, 2023

Copy link
Contributor

@DMRobertson DMRobertson left a comment

Choose a reason for hiding this comment

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

I've left some suggestions about helper functions, but take them with a pinch of salt.

Could we have a comment summarising what the test does and what it checks? Suggestion

Alice starts a thread and sends 10 messages into it.
Check she can paginate backwards through the thread's history, starting from a sync token midway through the thread.

Otherwise LGTM

tests/csapi/room_relations_test.go Outdated Show resolved Hide resolved
tests/csapi/room_relations_test.go Outdated Show resolved Hide resolved
tests/csapi/room_relations_test.go Show resolved Hide resolved
@clokep clokep removed the request for review from a team January 27, 2023 14:02
@clokep
Copy link
Member Author

clokep commented Jan 27, 2023

Thanks for the review @DMRobertson! 🎉 Would you mind taking another look?

Copy link
Contributor

@DMRobertson DMRobertson left a comment

Choose a reason for hiding this comment

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

I'm happy if CI is!

@clokep clokep merged commit 8df7168 into main Jan 27, 2023
@clokep clokep deleted the clokep/relation-pagination branch January 27, 2023 17:29
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

Successfully merging this pull request may close these issues.

2 participants