Skip to content

Leadeboard test: fetch all#1103

Merged
Didayolo merged 1 commit into
developfrom
list_all_leaderboard_test
Aug 22, 2023
Merged

Leadeboard test: fetch all#1103
Didayolo merged 1 commit into
developfrom
list_all_leaderboard_test

Conversation

@ihsaan-ullah

@ihsaan-ullah ihsaan-ullah commented Aug 22, 2023

Copy link
Copy Markdown
Collaborator

@ mention of reviewers

@Didayolo

A brief description of the purpose of the changes contained in this PR.

Now when fetching all leaderboards, you will get empty list. A test is also added for verification

Issues this PR resolves

Checklist

  • Code review by me
  • Hand tested by me
  • I'm proud of my work
  • Code review by reviewer
  • Hand tested by reviewer
  • CircleCi tests are passing
  • Ready to merge

@ihsaan-ullah ihsaan-ullah linked an issue Aug 22, 2023 that may be closed by this pull request
@Didayolo

Didayolo commented Aug 22, 2023

Copy link
Copy Markdown
Member

I am not sure I understand all the background of this.

@ihsaan-ullah

Copy link
Copy Markdown
Collaborator Author

The motivation is that leaderboards are nothing without competitions so if someone wants to fetch all leaderboards, nothing should be returned

@Didayolo

Copy link
Copy Markdown
Member

OK nice. I tested it and nothing is broken.

@Didayolo Didayolo merged commit f113cc1 into develop Aug 22, 2023
@Didayolo Didayolo deleted the list_all_leaderboard_test branch August 22, 2023 14:18
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.

Write test confirming someone can't fetch all leaderboards

2 participants