Class AppointmentArchiveRepositoryTest
- Namespace
- adas_core.Test.Repositories
- Assembly
- adas-core.Test.dll
[TestFixture]
[Category("Integration")]
public class AppointmentArchiveRepositoryTest
- Inheritance
-
AppointmentArchiveRepositoryTest
- Inherited Members
- Extension Methods
Methods
DeleteBeforeDate()
Verifies that the repository's DeleteBeforeDate method correctly removes all records
with a timestamp earlier than the specified cutoff date (two hours before the current time),
while retaining records dated at or after the cutoff for the given patient.
[Test]
public Task DeleteBeforeDate()
Returns
Init()
One-time test setup that initializes the appointments archive collection with two seed PatientAppointment records — a minimal appointment and a fully populated one with visit number, reason, and resource group location — for use by integration tests against AppointmentArchiveRepository.
[OneTimeSetUp]
public Task Init()