public static ActionResult RemoveCrmAdoDataProviderConfiguration(Session session) { try { DataProviderConfigInstaller configInstaller = new DataProviderConfigInstaller(); configInstaller.RemoveConfig(); return ActionResult.Success; } catch (Exception ex) { session.Log("ERROR in custom action RemoveCrmAdoDataProviderConfiguration {0}", ex.Message); return ActionResult.Failure; } }
public static ActionResult RemoveCrmAdoDataProviderConfiguration(Session session) { try { DataProviderConfigInstaller configInstaller = new DataProviderConfigInstaller(); configInstaller.RemoveConfig(); return(ActionResult.Success); } catch (Exception ex) { session.Log("ERROR in custom action RemoveCrmAdoDataProviderConfiguration {0}", ex.Message); return(ActionResult.Failure); } }
public void Should_Be_Able_To_Uninstall_Machine_Config_File_Changes() { var sut = new DataProviderConfigInstaller(); sut.RemoveConfig(); }