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

Check that aliases can be created and deleted #197

Merged
merged 2 commits into from
Mar 8, 2016

Conversation

erikjohnston
Copy link
Member

No description provided.

do => sub {
my ( $user, $room_id ) = @_;
my $server_name = $user->http->server_name;
$room_alias = "#Kuke9aic:$server_name";
Copy link
Contributor

Choose a reason for hiding this comment

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

Rather than this hardcoded value in the test, a more robust way would be to use a room_alias_fixture(); see 10apidoc/30room-create.pl

@erikjohnston
Copy link
Member Author

@leonerd PTAL

@leonerd
Copy link
Contributor

leonerd commented Mar 8, 2016

LGTM

@matrixbot
Copy link
Member

Can one of the admins verify this patch?

erikjohnston added a commit that referenced this pull request Mar 8, 2016
Check that aliases can be created and deleted
@erikjohnston erikjohnston merged commit 506cfd1 into develop Mar 8, 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.

3 participants