Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Update tests not to mock out an ancient server #12081

Merged
merged 2 commits into from
Jan 5, 2024
Merged

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Dec 21, 2023

Some of our tests, which mock a /versions response, currently mock the response of a 2-year-old server. This will soon be incompatible with the JS-SDK. Update the tests in preparation.

(I'm sure there are hundreds of ways this could be better and less duplicative; however I can't really spare the time for a larger refactor and I consider this an objective improvement).

Prerequisite for matrix-org/matrix-js-sdk#3970.


This change is marked as an internal change (Task), so will not be included in the changelog.

Some of our tests, which mock a `/versions` response, currently mock the
response of a 2-year-old server. This will soon be incompatible with the
JS-SDK. Update the tests in preparation.
@richvdh richvdh requested a review from a team as a code owner December 21, 2023 12:06
@richvdh richvdh requested a review from andybalaam December 21, 2023 12:06
@richvdh richvdh added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Dec 21, 2023
@richvdh richvdh requested a review from robintown December 21, 2023 12:06
@richvdh
Copy link
Member Author

richvdh commented Dec 21, 2023

I think this is failing tests because element-hq/element-web#26796 has not yet landed. Hopefully they will pass once it does.

Copy link
Member

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

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

Thanks!

@richvdh richvdh added this pull request to the merge queue Jan 5, 2024
Merged via the queue into develop with commit db7f0ba Jan 5, 2024
19 checks passed
@richvdh richvdh deleted the rav/minimum-spec branch January 5, 2024 13:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants