-
Notifications
You must be signed in to change notification settings - Fork 56
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
Add tests for creating rooms with names and topics #455
Conversation
Creating rooms with avatars is under a proposal at the time of writing. Spec: matrix-org/matrix-spec-proposals#1326 Synapse: matrix-org/synapse#3417 Signed-off-by: Travis Ralston <[email protected]>
Can one of the admins verify this patch? |
1 similar comment
Can one of the admins verify this patch? |
The original spec proposal (matrix-org/matrix-spec-proposals#1326) has instead gone the route of deprecating the name and topic. The avatar test is not needed. Signed-off-by: Travis Ralston <[email protected]>
I've updated this to be just for creating rooms with names and topics. Although the proposal is to deprecate these parameters, it seems useful to test these functions while the fields still exist. A later PR should remove them in the event the spec completes the deprecation process. |
Signed-off-by: Travis Ralston <[email protected]>
As per matrix-org/synapse#3421 (review), I think the tests of guest_can_join are incorrect. |
These aren't a thing.
Have removed the tests - please take a look |
I think this now does the right thing - PTAL. I have heavily abused copy/paste for this. |
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.
lgtm
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.
lgtm
See also: matrix-org/matrix-spec-proposals#1326