16 lines
430 B
C#
16 lines
430 B
C#
|
|
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));
|
||
|
|
}
|
||
|
|
}
|