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

✅ Update failing tests #295

Merged
merged 2 commits into from Apr 12, 2024
Merged

Conversation

JMicheli
Copy link
Contributor

@JMicheli JMicheli commented Apr 9, 2024

Several doctests were failing and I got them passing.

@JMicheli
Copy link
Contributor Author

JMicheli commented Apr 9, 2024

I ended up doing this after reviewing #281 while looking through the current testing. I'd be happy to continue working on that issue and making additions here prior to merging.

Let me know if there are particular parts of the project that need test coverage.

@aaronleopold
Copy link
Collaborator

Thank you so much, I appreciate you taking the time to fix these!

I'd be happy to continue working on that issue and making additions here prior to merging.

Let me know if there are particular parts of the project that need test coverage.

I responded on Discord this AM, but I think a good candidate for adding tests and/or general clean up would be core/src/opds. It is the oldest part of the codebase, but I think asserting the generated XML for various entities could be beneficial.

I'll leave it up to you if: a). you would like to tackle it and b). if you would rather put it all in this PR or separate it out.

@aaronleopold aaronleopold changed the title Update tests ✅ Update failing tests Apr 11, 2024
Copy link
Collaborator

@aaronleopold aaronleopold left a comment

Choose a reason for hiding this comment

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

LGTM, thanks again! As discussed offline, I'll merge this once CI passes

/// job_id: "Gandalf quote".to_string(),
/// message: "When in doubt, follow your nose".to_string(),
/// let event = CoreEvent::CreatedMedia {
/// id: "id_for_the_media".to_string(),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Not a LOTR fan? 😉

@aaronleopold
Copy link
Collaborator

Looks like cargo is complaining about format. I'll be able to correct it tomorrow if you can't get to it

@aaronleopold
Copy link
Collaborator

Looks like cargo is complaining about format. I'll be able to correct it tomorrow if you can't get to it

For future reference, clippy --fix won't correct warnings unless you run:

__CARGO_FIX_YOLO=1 cargo clippy --fix

lol

@JMicheli
Copy link
Contributor Author

I was wondering why they didn't get caught by the auto formatting.

Thanks for handling, I've spent like 8 hours outside the office in the past three days so I didn't have a chance to fix the issue.

@aaronleopold
Copy link
Collaborator

Yeah it definitely made me double take for a second when it just wasn't working.

Thanks for handling, I've spent like 8 hours outside the office in the past three days

No problem at all - that's rough! I hope you have some solid rest and recovery over the weekend or sometime soon

@aaronleopold aaronleopold merged commit 7b3d4d9 into stumpapp:develop Apr 12, 2024
3 checks passed
@aaronleopold aaronleopold mentioned this pull request Apr 20, 2024
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.

None yet

2 participants