Ejemplo n.º 1
0
        public async Task NotSoftDeleted_WhenDeleteCollection_RepoMarkDeletedCalledForAllItems()
        {
            _testDeletedValue.SoftDeleted = false;

            await _restCollection.DeleteAllAsync(null);

            bool artistsInRepo = _testContext.TestRepository.GetAllItems().Any();

            Assert.False(artistsInRepo);
        }