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 for SYN-589, that old left rooms don't get sent down new links #139

Merged
merged 4 commits into from
Jan 13, 2016

Conversation

erikjohnston
Copy link
Member

No description provided.

@erikjohnston
Copy link
Member Author

matrix-org/synapse#481

@@ -121,6 +121,69 @@
};


test "Oldly left rooms don't appear in the leave section of sync",
Copy link
Contributor

Choose a reason for hiding this comment

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

"Oldly" ??

Copy link
Member Author

Choose a reason for hiding this comment

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

Hush

@erikjohnston
Copy link
Member Author

I think that should be everything now

})->then( sub {
my ( $body ) = @_;

$next = $body->{next_batch};
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you need to assert that you definitely did see the newly-left room here, or is that checked already in another test?

Copy link
Member Author

Choose a reason for hiding this comment

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

Its tested elsewhere.

I'm not sure how much I want to be complicating tests testing things that are tested elsewhere. I can do either.

Copy link
Contributor

Choose a reason for hiding this comment

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

If it's tested elsewhere then no need to add it here, indeed.

@leonerd
Copy link
Contributor

leonerd commented Jan 12, 2016

LGTM

erikjohnston added a commit that referenced this pull request Jan 13, 2016
Test for SYN-589, that old left rooms don't get sent down new links
@erikjohnston erikjohnston merged commit d7a19d5 into develop Jan 13, 2016
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