Exemple #1
0
        public async Task GetGroupsByIdReturnsGroupsWhenGroupsExist()
        {
            int groupId = TestHelpers.CreateGroup(ConnectionString, Group1);

            Api.Domain.Group group = await _groupDao.GetGroupById(groupId);

            Assert.That(group.Id, Is.EqualTo(groupId));
            Assert.That(group.Name, Is.EqualTo(Group1));
        }