public void UserCategorySettingsQueries_DeleteAllTest() { //параметры var logger = new ShoutExceptionLogger(); var target = new SqlUserCategorySettingsQueries(logger, SignaloBotTestParameters.SqlConnetion); //проверка bool result = target.Delete(SignaloBotTestParameters.ExistingUserID).Result; }
public void UserCategorySettingsQueries_UpsertIsEnabledTest() { //параметры var logger = new ShoutExceptionLogger(); var target = new SqlUserCategorySettingsQueries( logger, SignaloBotTestParameters.SqlConnetion); UserCategorySettings<Guid> userCategorySettings = SignaloBotEntityCreator<Guid>.CreateUserCategorySettings(SignaloBotTestParameters.ExistingUserID); //проверка bool result = target.UpsertIsEnabled(userCategorySettings).Result; }