mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 10:55:53 +00:00
Fixed moar failing tests
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Octokit
|
||||
@@ -11,25 +10,21 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// Whether the current user has administrative permissions
|
||||
/// </summary>
|
||||
public bool Admin { get; set; }
|
||||
public bool Admin { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the current user has push permissions
|
||||
/// </summary>
|
||||
public bool Push { get; set; }
|
||||
public bool Push { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Whether the current user has pull permissions
|
||||
/// </summary>
|
||||
public bool Pull { get; set; }
|
||||
|
||||
public bool Pull { get; protected set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format(CultureInfo.InvariantCulture, "Admin: {0}, Push: {1}, Pull: {2}", Admin, Push, Pull);
|
||||
}
|
||||
get { return String.Format(CultureInfo.InvariantCulture, "Admin: {0}, Push: {1}, Pull: {2}", Admin, Push, Pull); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user