From 90212c76a5602a92577faaf3a465ec020cc4a8c5 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 10 Jul 2019 13:24:47 -0600 Subject: [PATCH 1/3] Use r0 media endpoints for group tests --- test/components/structures/GroupView-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/components/structures/GroupView-test.js b/test/components/structures/GroupView-test.js index d163a1d6cb..b0768d3911 100644 --- a/test/components/structures/GroupView-test.js +++ b/test/components/structures/GroupView-test.js @@ -187,7 +187,7 @@ describe('GroupView', function() { const avatarImgElement = ReactDOM.findDOMNode(img); expect(avatarImgElement).toBeTruthy(); expect(avatarImgElement.src).toContain( - 'https://my.home.server/_matrix/media/v1/thumbnail/' + + 'https://my.home.server/_matrix/media/r0/thumbnail/' + 'someavatarurl?width=28&height=28&method=crop', ); @@ -265,7 +265,7 @@ describe('GroupView', function() { expect(longDescElement.innerHTML).toContain('