refactor(api.tests): updated model names

This commit is contained in:
Stevan Freeborn
2026-02-24 06:55:37 -06:00
parent d0b0097032
commit 48e95e5242
2 changed files with 2 additions and 2 deletions
@@ -111,6 +111,6 @@ public class GetAvailableTests(TestApi testApi) : IntegrationTest(testApi)
var response = await Client.SendAsync(request, TestContext.Current.CancellationToken); var response = await Client.SendAsync(request, TestContext.Current.CancellationToken);
(await response.Should().BeJsonContentOfType<Response>(HttpStatusCode.OK)) (await response.Should().BeJsonContentOfType<Response>(HttpStatusCode.OK))
.Which.Accounts.Should().BeEquivalentTo(expectedAccounts.Select(AccountDto.FromPlaidAccount)); .Which.Accounts.Should().BeEquivalentTo(expectedAccounts.Select(AvailableAccountDto.FromPlaidAccount));
} }
} }
@@ -65,7 +65,7 @@ public class GetTests(TestApi testApi) : IntegrationTest(testApi)
(await res.Should().BeJsonContentOfType<Response>(HttpStatusCode.OK)) (await res.Should().BeJsonContentOfType<Response>(HttpStatusCode.OK))
.Which.Institutions.Should().BeEquivalentTo( .Which.Institutions.Should().BeEquivalentTo(
[ [
InstitutionDto.FromInstitution(institution), InstitutionDto.From(institution),
]); ]);
} }
} }