correccion del nombre de la coleccion
This commit is contained in:
@@ -67,7 +67,7 @@ public class AuditRecordRepositoryTests
|
||||
public async Task Cleanup()
|
||||
{
|
||||
|
||||
await IntegrationDb.Database.DropCollectionAsync("AuditRecords");
|
||||
await IntegrationDb.Database.DropCollectionAsync("audit_records");
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ public class AuditServiceFilterTests
|
||||
public void Setup()
|
||||
{
|
||||
// Limpia la base de datos antes de cada prueba
|
||||
IntegrationDb.Database.DropCollectionAsync("AuditRecords").Wait();
|
||||
IntegrationDb.Database.DropCollectionAsync("audit_records").Wait();
|
||||
_service = new AuditService(IntegrationDb.Database);
|
||||
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ public class AuditServiceIntegrationTests
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
IntegrationDb.Database.DropCollectionAsync("AuditRecords");
|
||||
IntegrationDb.Database.DropCollectionAsync("audit_records");
|
||||
//_repository = new AuditRecordRepository(IntegrationDb.Database);
|
||||
_service = new AuditService(IntegrationDb.Database);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user