TapiDirectoryRepository Tests
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using CPATapi.Server.Repository;
|
||||
|
||||
namespace CPATapi.Server.Tests;
|
||||
|
||||
public class TapiDirectoryRepositoryTests : RepositoryTestsBase
|
||||
{
|
||||
[Test]
|
||||
public async Task TestGetAllAsync()
|
||||
{
|
||||
var tdRepo = new TapiDirectoryRepository(Configuration);
|
||||
var contacts = (await tdRepo.GetAllAsync()).ToList();
|
||||
Assert.That(contacts, Is.Not.Empty);
|
||||
Assert.That(contacts, Has.Count.GreaterThan(1));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user