From dde430fdea7afaee72824f883387ea5511899e70 Mon Sep 17 00:00:00 2001 From: Devesh Khandelwal Date: Fri, 22 Apr 2016 10:55:29 +0530 Subject: [PATCH] Minor touch-up. - `StartMigration()` not considered as a test. - Creating repo with timestamp for uniqueness. --- .../Clients/MigrationsClientTests.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Octokit.Tests.Integration/Clients/MigrationsClientTests.cs b/Octokit.Tests.Integration/Clients/MigrationsClientTests.cs index fc81f5a8a8..8c43c03dd9 100644 --- a/Octokit.Tests.Integration/Clients/MigrationsClientTests.cs +++ b/Octokit.Tests.Integration/Clients/MigrationsClientTests.cs @@ -29,23 +29,23 @@ public MigrationsClientTests() private async Task CreateTheWorld() { - _repos.Add(await _gitHub.CreateRepositoryContext(_orgName, new NewRepository("migrationtest-repo1") + _repos.Add(await _gitHub.CreateRepositoryContext(_orgName, new NewRepository(Helper.MakeNameWithTimestamp("migrationtest-repo1")) { - GitignoreTemplate = "VisualStudio", LicenseTemplate = "mit" + GitignoreTemplate = "VisualStudio", + LicenseTemplate = "mit" })); - _repos.Add(await _gitHub.CreateRepositoryContext(_orgName, new NewRepository("migrationtest-repo2") + _repos.Add(await _gitHub.CreateRepositoryContext(_orgName, new NewRepository(Helper.MakeNameWithTimestamp("migrationtest-repo2")) { GitignoreTemplate = "VisualStudio", LicenseTemplate = "mit" })); - _repos.Add(await _gitHub.CreateRepositoryContext(_orgName, new NewRepository("migrationtest-repo3") + _repos.Add(await _gitHub.CreateRepositoryContext(_orgName, new NewRepository(Helper.MakeNameWithTimestamp("migrationtest-repo3")) { GitignoreTemplate = "VisualStudio", LicenseTemplate = "mit" })); } - [IntegrationTest(Skip = "This will be automatically tested as all other tests call it. See: https://gist.github.com/ryangribble/fc14239ecad3f65d96f5ebd2fecf722e#file-octokit-migrationsclienttests-cs-L40")] public async Task StartNewMigration() { var repoNames = _repos.Select(repo => repo.Repository.FullName).ToList();