Skip to content

Commit

Permalink
Ensure all appservice endpoints are prefixed with /_matrix/app/v1
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Dec 4, 2019
1 parent afd2b6f commit 18d3149
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/SyTest/ApplicationService.pm
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ sub new
my %futures_by_type;

my $f = repeat {
$await_http->( qr{^\Q$path\E/transactions/\d+$}, sub { 1 },
$await_http->( qr{^\Q$path\E/_matrix/app/v1/transactions/\d+$}, sub { 1 },
timeout => 0,
)->then( sub {
my ( $request ) = @_;
Expand Down
2 changes: 1 addition & 1 deletion tests/60app-services/05lookup3pe.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use List::UtilsBy qw( sort_by );

use constant AS_PREFIX => "/_matrix/app/unstable";
use constant AS_PREFIX => "/_matrix/app/v1";

sub stub_empty_result
{
Expand Down
2 changes: 1 addition & 1 deletion tests/60app-services/06publicroomlist.pl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use constant AS_PREFIX => "/_matrix/app/unstable";
use constant AS_PREFIX => "/_matrix/app/v1";


sub get_room_list_synced
Expand Down

0 comments on commit 18d3149

Please sign in to comment.