From e83faee8999988520dc7f761d43d8dbbfecc71be Mon Sep 17 00:00:00 2001 From: Roberto Mancinelli Date: Mon, 25 Nov 2024 15:52:19 +0100 Subject: [PATCH] fix test --- test/TrueLayer.Tests/Mocks/AuthApiMock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/TrueLayer.Tests/Mocks/AuthApiMock.cs b/test/TrueLayer.Tests/Mocks/AuthApiMock.cs index e0972d57..a86600f5 100644 --- a/test/TrueLayer.Tests/Mocks/AuthApiMock.cs +++ b/test/TrueLayer.Tests/Mocks/AuthApiMock.cs @@ -15,6 +15,6 @@ public void SetGetAuthToken(ApiResponse response) public ValueTask> GetAuthToken(GetAuthTokenRequest authTokenRequest, CancellationToken cancellationToken = default) { - return ValueTask.FromResult(_response!); + return new ValueTask>(_response!); } }