-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for Dandiset star functionality and update API responses
- Implemented new test cases in `test_dandiset.py` to verify star/unstar actions, star count, and starred status for Dandisets. - Updated API responses in `DandisetViewSet` to return the current star count when starring or unstarring a Dandiset. - Added tests for unauthenticated access to star functionality and listing starred Dandisets.
- Loading branch information
1 parent
61295ab
commit dd9bd64
Showing
2 changed files
with
85 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters