Пример #1
0
        public async Task GetPhoto_Success()
        {
            var photo = await _dataContext.Photos.FirstAsync();

            var result = await _datingRepository.GetPhoto(photo.Id);

            Assert.IsNotNull(result);
            Assert.AreEqual(photo.Id, result.Id);
        }