Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 5710f1d

Browse files
committed
Fix visibility for tests
1 parent 44dc4f5 commit 5710f1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/GitHub.VisualStudio/Services/UIProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public T TryGetService<T>() where T : class
114114
/// This is a globally registered service (see `GitHubPackage`).
115115
/// If you need to access this service via MEF, use the `IUIProvider` type
116116
/// </summary>
117-
internal class GitHubServiceProvider : IUIProvider, IDisposable
117+
public class GitHubServiceProvider : IUIProvider, IDisposable
118118
{
119119
class OwnedComposablePart
120120
{

src/UnitTests/GitHub.App/Controllers/UIProviderTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public void ListenToCompletionDoesNotThrowInRelease()
2323
{
2424
var provider = Substitutes.GetFullyMockedServiceProvider();
2525

26-
using (var p = new UIProvider(provider))
26+
using (var p = new GitHubServiceProvider(provider))
2727
{
2828
#if DEBUG
2929
Assert.ThrowsAny<InvalidOperationException>(() =>

0 commit comments

Comments
 (0)