about summary refs log tree commit diff
path: root/Tests/LibMatrix.Tests
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-06-17 06:17:03 +0200
committerEmma [it/its]@Rory& <root@rory.gay>2024-06-17 06:25:20 +0200
commit99294322327f899eb01e9c78c0681528cada99d1 (patch)
tree023a30b463867deb4c8b1b9df8c8b11770846860 /Tests/LibMatrix.Tests
parentSingle httpclient implementation (diff)
downloadLibMatrix-99294322327f899eb01e9c78c0681528cada99d1.tar.xz
Diffstat (limited to '')
-rw-r--r--Tests/LibMatrix.Tests/Tests/AuthTests.cs2
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();