namespace adas_core.Test.Repositories;

[TestFixture]
public class DisplayRepisitoryTest
{
    //private Mock<ILogger<DisplayRepository>> _mockLogger ;
    //private Mock<IOptions<ApiSettings>> _mockOptionsApiSettings ;

    /// <summary>
    /// One-time setup method that resets the "displays" collection in the integration database by dropping and recreating it, ensuring a clean state before integration tests run.
    /// </summary>
    [OneTimeSetUp]
        public async Task OneTimeSetUp()
        {
            //_mockLogger = new Mock<ILogger<DisplayRepository>>();
            //_mockOptionsApiSettings = new Mock<IOptions<ApiSettings>>();
    
            await IntegrationDb.Database.DropCollectionAsync("displays");
            await IntegrationDb.Database.CreateCollectionAsync("displays");
        }
}