mirror of
https://github.com/ramsayleung/rspotify.git
synced 2026-04-25 23:45:52 +03:00
[PR #171] [MERGED] Improved test error messages and small CI fix #287
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#287
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/171
Author: @marioortizmanero
Created: 12/25/2020
Status: ✅ Merged
Merged: 1/19/2021
Merged by: @ramsayleung
Base:
master← Head:tests-features📝 Commits (3)
86dc798improve error messages from testsa266defremove unnecessary feature in CI testse94ce7asame messages📊 Changes
3 files changed (+17 additions, -5 deletions)
View changed files
📝
.github/workflows/ci.yml(+1 -1)📝
tests/test_with_credential.rs(+8 -3)📝
tests/test_with_oauth.rs(+8 -1)📄 Description
Description
If you ran
cargo testwithout theenv-filefeature by mistake or no credentials set, you'd get a somewhat weird error. This should provide more context for bothtest_with_credentialandtest_with_oauth. I also removed theclifeature from the CI tests as it's not really needed for now (CI can't interact with the user anyway).Type of change
Please delete options that are not relevant.
How Has This Been Tested?
I've just ran the tests a couple times expecting these errors
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.