Skip to content

Commit

Permalink
remove unnecessary curly braces
Browse files Browse the repository at this point in the history
  • Loading branch information
DeLaphante committed Dec 1, 2023
1 parent 8c4107a commit bc00741
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions CynkyAutomation/Models/UI/EmployeeProfile.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace CynkyAutomation.Models.UI
{
public class EmployeeProfile
{
public string Firstname { get; set; } = $"{StringGenerator.GetRandomString()}";
public string Lastname { get; set; } = $"{StringGenerator.GetRandomString()}";
public string Firstname { get; set; } = StringGenerator.GetRandomString();
public string Lastname { get; set; } = StringGenerator.GetRandomString();
}
}
8 changes: 4 additions & 4 deletions CynkyAutomation/Models/UI/PersonalDetails.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ namespace CynkyAutomation.Models.UI
{
public class PersonalDetails
{
public string Firstname { get; set; } = $"{StringGenerator.GetRandomString()}";
public string MiddleName { get; set; } = $"{StringGenerator.GetRandomString()}";
public string LastName { get; set; } = $"{StringGenerator.GetRandomString()}";
public string NickName { get; set; } = $"{StringGenerator.GetRandomString()}";
public string Firstname { get; set; } = StringGenerator.GetRandomString();
public string MiddleName { get; set; } = StringGenerator.GetRandomString();
public string LastName { get; set; } = StringGenerator.GetRandomString();
public string NickName { get; set; } = StringGenerator.GetRandomString();
public int EmployeeId { get; set; }
public int OtherId { get; set; }
public int DriverLicenseNumber { get; set; }
Expand Down
2 changes: 1 addition & 1 deletion CynkyAutomation/Utilities/PostCodeClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class PostCodeClient
static string _projectPath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory,
AppDomain.CurrentDomain.RelativeSearchPath ?? string.Empty);

static string _testDatafolder = _projectPath + "/TestData/UI/Postcodes/";
static string _testDatafolder = _projectPath + "Data/Files/Postcodes/";

public static List<Postcodes> GetUkPostCodes()
{
Expand Down

0 comments on commit bc00741

Please sign in to comment.