diff --git a/Octokit.Tests/Models/StringEnumTests.cs b/Octokit.Tests/Models/StringEnumTests.cs index a19f435f..c4bfa950 100644 --- a/Octokit.Tests/Models/StringEnumTests.cs +++ b/Octokit.Tests/Models/StringEnumTests.cs @@ -20,9 +20,9 @@ namespace Octokit.Tests.Models { var stringEnum = new StringEnum(AccountType.Bot); - Assert.Equal("bot", stringEnum.StringValue); + Assert.Equal("Bot", stringEnum.StringValue); Assert.Equal(AccountType.Bot, stringEnum.Value); - Assert.Equal("bot", stringEnum); + Assert.Equal("Bot", stringEnum); Assert.Equal(AccountType.Bot, stringEnum); } @@ -126,7 +126,7 @@ namespace Octokit.Tests.Models { StringEnum stringEnum = AccountType.Bot; - Assert.Equal("bot", stringEnum.StringValue); + Assert.Equal("Bot", stringEnum.StringValue); Assert.Equal(AccountType.Bot, stringEnum.Value); } diff --git a/Octokit/Models/Response/AccountType.cs b/Octokit/Models/Response/AccountType.cs index 5b04edec..98f8695d 100644 --- a/Octokit/Models/Response/AccountType.cs +++ b/Octokit/Models/Response/AccountType.cs @@ -7,19 +7,19 @@ namespace Octokit /// /// User account /// - [Parameter(Value = "user")] + [Parameter(Value = "User")] User, /// /// Organization account /// - [Parameter(Value = "organization")] + [Parameter(Value = "Organization")] Organization, /// /// Bot account /// - [Parameter(Value = "bot")] + [Parameter(Value = "Bot")] Bot } }