Method of assembly determination was changed in order to use types of top level (#1273)

This commit is contained in:
Alexander Efremov
2016-04-19 18:02:36 +07:00
committed by Brendan Forster
parent 190ccf04c2
commit 494bbfda42
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ namespace Octokit.Tests.Conventions
public static IEnumerable<object[]> GetClientInterfaces()
{
return typeof(IEventsClient)
return typeof(IGitHubClient)
.Assembly
.ExportedTypes
.Where(TypeExtensions.IsClientInterface)
@@ -119,7 +119,7 @@ namespace Octokit.Tests.Conventions
{
var allModelTypes = new HashSet<Type>();
var clientInterfaces = typeof(IEventsClient).Assembly.ExportedTypes
var clientInterfaces = typeof(IGitHubClient).Assembly.ExportedTypes
.Where(type => type.IsClientInterface());
foreach (var exportedType in clientInterfaces)