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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendica federation #2167

Merged
merged 1 commit into from Mar 29, 2022
Merged

Friendica federation #2167

merged 1 commit into from Mar 29, 2022

Conversation

Nutomic
Copy link
Member

@Nutomic Nutomic commented Mar 28, 2022

No description provided.

@Nutomic Nutomic marked this pull request as ready for review March 28, 2022 17:07
@@ -1,44 +0,0 @@
{
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean to delete all these ones that don't have anything to do with friendica?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, check the second commit. Basically, these objects are already being tested as part of Create/Note and similar activity tests, so there is no real reason to add them twice. Except maybe to figure out what exactly isnt working, so maybe better to keep them. Now i'm not sure myself.

Copy link
Member

Choose a reason for hiding this comment

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

IMO it would make sense to keep them, if only for the reason that they individually might add / remove things in the future, and these separate files are a place to keep track of that.

@@ -44,42 +44,33 @@ mod tests {
#[test]
fn test_parse_objects_pleroma() {
test_json::<Person>("assets/pleroma/objects/person.json").unwrap();
test_json::<Note>("assets/pleroma/objects/note.json").unwrap();
Copy link
Member

Choose a reason for hiding this comment

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

Why removing all these?

@Nutomic
Copy link
Member Author

Nutomic commented Mar 29, 2022

updated

@dessalines dessalines self-requested a review March 29, 2022 15:19
Copy link
Member

@dessalines dessalines left a comment

Choose a reason for hiding this comment

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

Run cargo fmt

@Nutomic Nutomic force-pushed the friendica-federation branch 2 times, most recently from 3c56816 to e9b2f62 Compare March 29, 2022 15:32
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