fix tests

This commit is contained in:
Bruno Windels 2019-01-30 18:43:16 +01:00
parent 405cc5cc24
commit 42161f3a23

View file

@ -188,7 +188,7 @@ describe('GroupView', function() {
expect(avatarImgElement).toBeTruthy(); expect(avatarImgElement).toBeTruthy();
expect(avatarImgElement.src).toContain( expect(avatarImgElement.src).toContain(
'https://my.home.server/_matrix/media/v1/thumbnail/' + 'https://my.home.server/_matrix/media/v1/thumbnail/' +
'someavatarurl?width=48&height=48&method=crop', 'someavatarurl?width=28&height=28&method=crop',
); );
const name = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_name'); const name = ReactTestUtils.findRenderedDOMComponentWithClass(root, 'mx_GroupView_header_name');