Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
tl-Roberto-Mancinelli committed Nov 25, 2024
1 parent 872baa5 commit e83faee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/TrueLayer.Tests/Mocks/AuthApiMock.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ public void SetGetAuthToken(ApiResponse<GetAuthTokenResponse> response)

public ValueTask<ApiResponse<GetAuthTokenResponse>> GetAuthToken(GetAuthTokenRequest authTokenRequest, CancellationToken cancellationToken = default)
{
return ValueTask.FromResult(_response!);
return new ValueTask<ApiResponse<GetAuthTokenResponse>>(_response!);
}
}

0 comments on commit e83faee

Please sign in to comment.