refactor(api.tests): updated model names
This commit is contained in:
@@ -111,6 +111,6 @@ public class GetAvailableTests(TestApi testApi) : IntegrationTest(testApi)
|
||||
var response = await Client.SendAsync(request, TestContext.Current.CancellationToken);
|
||||
|
||||
(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))
|
||||
.Which.Institutions.Should().BeEquivalentTo(
|
||||
[
|
||||
InstitutionDto.FromInstitution(institution),
|
||||
InstitutionDto.From(institution),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user