diff options
author | Rory& <root@rory.gay> | 2024-06-17 06:17:03 +0200 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-06-17 06:25:20 +0200 |
commit | 99294322327f899eb01e9c78c0681528cada99d1 (patch) | |
tree | 023a30b463867deb4c8b1b9df8c8b11770846860 /Tests/LibMatrix.Tests | |
parent | Single httpclient implementation (diff) | |
download | LibMatrix-99294322327f899eb01e9c78c0681528cada99d1.tar.xz |
Single HTTP client fixes github/dev/new-httpclient dev/new-httpclient
Diffstat (limited to 'Tests/LibMatrix.Tests')
-rw-r--r-- | Tests/LibMatrix.Tests/Tests/AuthTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/LibMatrix.Tests/Tests/AuthTests.cs b/Tests/LibMatrix.Tests/Tests/AuthTests.cs index 67ba8eb..f331dd0 100644 --- a/Tests/LibMatrix.Tests/Tests/AuthTests.cs +++ b/Tests/LibMatrix.Tests/Tests/AuthTests.cs @@ -60,7 +60,7 @@ public class AuthTests : TestBed<TestFixture> { Assert.NotNull(reg.AccessToken); Assert.NotNull(reg.DeviceId); Assert.NotNull(reg.UserId); - var hs = await reg.GetAuthenticatedHomeserver(); + var hs = await _provider.GetAuthenticatedWithToken(reg.Homeserver, reg.AccessToken); Assert.NotNull(hs); Assert.NotNull(hs.WhoAmI); hs.WhoAmI.VerifyRequiredFields(); |