-
-
Notifications
You must be signed in to change notification settings - Fork 880
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
Friendica federation #2167
Friendica federation #2167
Conversation
afd5593
to
eb7f53b
Compare
@@ -1,44 +0,0 @@ | |||
{ |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why removing all these?
eb7f53b
to
3c56816
Compare
updated |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Run cargo fmt
3c56816
to
e9b2f62
Compare
e9b2f62
to
1f00f56
Compare
No description provided.