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

Test API for adding and removing tags #34

Closed
wants to merge 12 commits into from
Closed

Conversation

NegativeMjark
Copy link
Contributor

Test changes made in matrix-org/synapse#335

TODO:

  • Add tests for getting tags in v1 /initialSync
  • Add tests for getting tags in v1 /events
  • Add tests for getting tags in v2 /sync

@NegativeMjark NegativeMjark self-assigned this Oct 28, 2015

my ( $user, $room_id );

matrix_register_user( $http, undef, with_events => 0 )->then( sub {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is it important that /events hasn't been called for this test?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It isn't but I dislike calling /events unless we are going to actually use it.

Copy link
Contributor

Choose a reason for hiding this comment

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

Then let's make the default false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah that would be nicer from my perspective.

@illicitonion
Copy link
Contributor

LGTM

NegativeMjark pushed a commit that referenced this pull request Nov 3, 2015
Test API for adding and removing tags
@NegativeMjark
Copy link
Contributor Author

Merged as 4e524a4

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.

2 participants