Skip to content

Commit ebdab38

Browse files
committed
Ensure all appservice endpoints are prefixed with /_matrix/app/v1
1 parent d8d3b2a commit ebdab38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/SyTest/ApplicationService.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ sub new
4242
my %futures_by_type;
4343

4444
my $f = repeat {
45-
$await_http->( qr{^\Q$path\E/transactions/\d+$}, sub { 1 },
45+
$await_http->( qr{^\Q$path\E/_matrix/app/v1/transactions/\d+$}, sub { 1 },
4646
timeout => 0,
4747
)->then( sub {
4848
my ( $request ) = @_;

tests/60app-services/05lookup3pe.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use List::UtilsBy qw( sort_by );
22

3-
use constant AS_PREFIX => "/_matrix/app/unstable";
3+
use constant AS_PREFIX => "/_matrix/app/v1";
44

55
sub stub_empty_result
66
{

tests/60app-services/06publicroomlist.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use constant AS_PREFIX => "/_matrix/app/unstable";
1+
use constant AS_PREFIX => "/_matrix/app/v1";
22

33

44
sub get_room_list_synced

0 commit comments

Comments
 (0)