mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-26 07:55:55 +03:00
[PR #226] [MERGED] OAuth tests cleanup, they don't modify the user's profile anymore #325
Labels
No labels
Stale
bug
discussion
enhancement
good first issue
good first issue
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/rspotify#325
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ramsayleung/rspotify/pull/226
Author: @marioortizmanero
Created: 7/14/2021
Status: ✅ Merged
Merged: 8/7/2021
Merged by: @ramsayleung
Base:
master← Head:oauth-tests📝 Commits (10+)
2c1a038First attempt at oauth tests fixing2404190Test for saved albums doneed46d21playback tests, some fixesa250c8afix #225750d9fetest_repeat25ab6c2playlist testsd49d23fclean up the rest of testse6ef925clarify TODO94ac8ceRevert changes to example3f1f571fixes #227📊 Changes
9 files changed (+421 additions, -372 deletions)
View changed files
📝
.github/workflows/ci.yml(+2 -0)📝
CHANGELOG.md(+1 -0)📝
rspotify-model/src/enums/types.rs(+1 -1)📝
rspotify-model/src/idtypes.rs(+3 -3)📝
rspotify-model/src/playlist.rs(+1 -1)📝
src/clients/base.rs(+4 -4)📝
src/clients/oauth.rs(+43 -13)📝
tests/test_models.rs(+1 -1)📝
tests/test_with_oauth.rs(+365 -349)📄 Description
Description
This PR takes care of the "Authenticated tests should actually not modify the user's account and cause minimal changes (as in, don't completely delete the user's library for a test)." task in #127.
It also includes some fixes so that they work:
Dependencies
None
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.