From 7f83e741255a9e215d848fa379dc2b0f24c0c0fa Mon Sep 17 00:00:00 2001 From: Prayank Mathur Date: Thu, 7 Apr 2016 12:45:08 +0530 Subject: [PATCH] Modified tests --- .../Clients/RepositoryPagesClientTests.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/Octokit.Tests.Integration/Clients/RepositoryPagesClientTests.cs b/Octokit.Tests.Integration/Clients/RepositoryPagesClientTests.cs index b224d215..1e5a6062 100644 --- a/Octokit.Tests.Integration/Clients/RepositoryPagesClientTests.cs +++ b/Octokit.Tests.Integration/Clients/RepositoryPagesClientTests.cs @@ -1,11 +1,6 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; +using System.Threading.Tasks; using Octokit; using Octokit.Tests.Integration; -using Octokit.Tests.Integration.Helpers; using Xunit; public class RepositoryPagesClientTests @@ -26,7 +21,7 @@ public class RepositoryPagesClientTests public async Task ReturnsMetadata() { var data = await _repositoryPagesClient.Get(owner, name); - Assert.Equal(data.CName, "octokit.net"); + Assert.Equal("https://api.github.com/repos/octokit/octokit.net/pages", data.Url); } } public class TheGetAllMethod