nums
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
namespace SmallSoftwareContracts.Infrastructure.PostConfigurations;
|
||||
using System.Globalization;
|
||||
|
||||
namespace SmallSoftwareContracts.Infrastructure.PostConfigurations;
|
||||
public class PostConfiguration
|
||||
{
|
||||
public virtual string Type => nameof(PostConfiguration);
|
||||
public double Rate { get; set; }
|
||||
public double Rate { get; set; }
|
||||
public string CultureName { get; set; } = CultureInfo.CurrentCulture.Name;
|
||||
}
|
||||
@@ -136,6 +136,7 @@ internal class WorkerDataModelTests
|
||||
Assert.That(worker.IsDeleted, Is.EqualTo(isDelete));
|
||||
Assert.That(worker.ConfigurationModel, Is.EqualTo(configuration));
|
||||
Assert.That(worker.ConfigurationModel.Rate, Is.EqualTo(configuration.Rate));
|
||||
Assert.That(worker.ConfigurationModel.CultureName, Is.Not.Empty);
|
||||
});
|
||||
}
|
||||
private static WorkerDataModel CreateDataModel(string? id, string? fio,
|
||||
|
||||
Reference in New Issue
Block a user