From 48e95e5242f08a95d63923ecbdc6cd9be945f840 Mon Sep 17 00:00:00 2001 From: Stevan Freeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Tue, 24 Feb 2026 06:53:08 -0600 Subject: [PATCH] refactor(api.tests): updated model names --- .../Integration/Institutions/GetAvailableTests.cs | 2 +- tests/FiscalOS.API.Tests/Integration/Institutions/GetTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/FiscalOS.API.Tests/Integration/Institutions/GetAvailableTests.cs b/tests/FiscalOS.API.Tests/Integration/Institutions/GetAvailableTests.cs index 1335931..f017f6a 100644 --- a/tests/FiscalOS.API.Tests/Integration/Institutions/GetAvailableTests.cs +++ b/tests/FiscalOS.API.Tests/Integration/Institutions/GetAvailableTests.cs @@ -111,6 +111,6 @@ public class GetAvailableTests(TestApi testApi) : IntegrationTest(testApi) var response = await Client.SendAsync(request, TestContext.Current.CancellationToken); (await response.Should().BeJsonContentOfType(HttpStatusCode.OK)) - .Which.Accounts.Should().BeEquivalentTo(expectedAccounts.Select(AccountDto.FromPlaidAccount)); + .Which.Accounts.Should().BeEquivalentTo(expectedAccounts.Select(AvailableAccountDto.FromPlaidAccount)); } } \ No newline at end of file diff --git a/tests/FiscalOS.API.Tests/Integration/Institutions/GetTests.cs b/tests/FiscalOS.API.Tests/Integration/Institutions/GetTests.cs index 8086ace..4b8017d 100644 --- a/tests/FiscalOS.API.Tests/Integration/Institutions/GetTests.cs +++ b/tests/FiscalOS.API.Tests/Integration/Institutions/GetTests.cs @@ -65,7 +65,7 @@ public class GetTests(TestApi testApi) : IntegrationTest(testApi) (await res.Should().BeJsonContentOfType(HttpStatusCode.OK)) .Which.Institutions.Should().BeEquivalentTo( [ - InstitutionDto.FromInstitution(institution), + InstitutionDto.From(institution), ]); } } \ No newline at end of file