Files
3cx_tapi/server/test/CPATapi.Server.Tests/TapiDirectoryRepositoryTests.cs
T

16 lines
430 B
C#
Raw Normal View History

2026-04-13 14:19:46 +02:00
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));
}
}