Fix tests, like the TODO said

This commit is contained in:
Matt Nadareski
2020-05-06 17:00:34 -07:00
parent 9a3c2eb626
commit 0efecd6601
3 changed files with 10 additions and 21 deletions

View File

@@ -6,7 +6,7 @@ namespace DICUI.Data
{
public class Options : IDictionary<string, string>
{
private Dictionary<string, string> _settings = new Dictionary<string, string>();
private Dictionary<string, string> _settings;
#region Internal Program
@@ -181,7 +181,7 @@ namespace DICUI.Data
/// <param name="settings"></param>
public Options(Dictionary<string, string> settings = null)
{
this._settings = settings;
this._settings = settings ?? new Dictionary<string, string>();
}
/// <summary>

View File

@@ -141,12 +141,6 @@ namespace DICUI.Utilities
#endregion
/// <summary>
/// Empty constructor for testing only
/// </summary>
/// TODO: Remove this and fix tests
public DumpEnvironment() { }
/// <summary>
/// Constructor for a full DumpEnvironment object from user information
/// </summary>