diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/AzureDevOpsPullRequestSystemSettingsTests.cs b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/AzureDevOpsPullRequestSystemSettingsTests.cs
index e8b40d1..02956b9 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/AzureDevOpsPullRequestSystemSettingsTests.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/AzureDevOpsPullRequestSystemSettingsTests.cs
@@ -1,6 +1,7 @@
namespace Cake.Issues.PullRequests.AzureDevOps.Tests
{
using System;
+ using Cake.AzureDevOps.Authentication;
using Cake.Issues.Testing;
using Xunit;
@@ -12,7 +13,7 @@ public sealed class TheCtor
public void Should_Throw_If_RepositoryUrl_For_SourceRefName_Is_Null()
{
// Given / When
- var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(null, "foo", null));
+ var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(null, "foo", new AzureDevOpsNtlmCredentials()));
// Then
result.IsArgumentNullException("repositoryUrl");
@@ -22,7 +23,7 @@ public void Should_Throw_If_RepositoryUrl_For_SourceRefName_Is_Null()
public void Should_Throw_If_SourceRefName_Is_Null()
{
// Given / When
- var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), null, null));
+ var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), null, new AzureDevOpsNtlmCredentials()));
// Then
result.IsArgumentNullException("sourceRefName");
@@ -32,7 +33,7 @@ public void Should_Throw_If_SourceRefName_Is_Null()
public void Should_Throw_If_SourceRefName_Is_Empty()
{
// Given / When
- var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), string.Empty, null));
+ var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), string.Empty, new AzureDevOpsNtlmCredentials()));
// Then
result.IsArgumentOutOfRangeException("sourceRefName");
@@ -42,7 +43,7 @@ public void Should_Throw_If_SourceRefName_Is_Empty()
public void Should_Throw_If_SourceRefName_Is_WhiteSpace()
{
// Given / When
- var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), " ", null));
+ var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(new Uri("http://example.com"), " ", new AzureDevOpsNtlmCredentials()));
// Then
result.IsArgumentOutOfRangeException("sourceRefName");
@@ -52,7 +53,7 @@ public void Should_Throw_If_SourceRefName_Is_WhiteSpace()
public void Should_Throw_If_RepositoryUrl_For_PullRequestId_Is_Null()
{
// Given / When
- var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(null, 0, null));
+ var result = Record.Exception(() => new AzureDevOpsPullRequestSystemSettings(null, 0, new AzureDevOpsNtlmCredentials()));
// Then
result.IsArgumentNullException("repositoryUrl");
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj
index bbf49e5..7e18af9 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj
+++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Cake.Issues.PullRequests.AzureDevOps.Tests.csproj
@@ -16,11 +16,11 @@
-
-
-
+
+
+
-
+
@@ -33,4 +33,4 @@
-
\ No newline at end of file
+
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentExtensionsTests.cs b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentExtensionsTests.cs
index d526150..8dec569 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentExtensionsTests.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentExtensionsTests.cs
@@ -1,6 +1,6 @@
namespace Cake.Issues.PullRequests.AzureDevOps.Tests.Capabilities
{
- using Cake.AzureDevOps.PullRequest.CommentThread;
+ using Cake.AzureDevOps.Repos.PullRequest.CommentThread;
using Cake.Issues.PullRequests.AzureDevOps.Capabilities;
using Cake.Issues.Testing;
using Shouldly;
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentThreadStatusExtensionsTests.cs b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentThreadStatusExtensionsTests.cs
index b9ad454..40ab28e 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentThreadStatusExtensionsTests.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/CommentThreadStatusExtensionsTests.cs
@@ -1,6 +1,6 @@
namespace Cake.Issues.PullRequests.AzureDevOps.Tests.Capabilities
{
- using Cake.AzureDevOps.PullRequest.CommentThread;
+ using Cake.AzureDevOps.Repos.PullRequest.CommentThread;
using Cake.Issues.PullRequests.AzureDevOps.Capabilities;
using Shouldly;
using Xunit;
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/GitPullRequestCommentThreadExtensionsTests.cs b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/GitPullRequestCommentThreadExtensionsTests.cs
index ea3b0b1..1fac687 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/GitPullRequestCommentThreadExtensionsTests.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps.Tests/Capabilities/GitPullRequestCommentThreadExtensionsTests.cs
@@ -2,7 +2,7 @@
{
using System.Collections.Generic;
using System.Linq;
- using Cake.AzureDevOps.PullRequest.CommentThread;
+ using Cake.AzureDevOps.Repos.PullRequest.CommentThread;
using Cake.Issues.PullRequests.AzureDevOps.Capabilities;
using Cake.Issues.Testing;
using Shouldly;
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystem.cs b/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystem.cs
index b6c15e8..bb67fdf 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystem.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystem.cs
@@ -4,8 +4,8 @@
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
- using Cake.AzureDevOps.PullRequest;
- using Cake.AzureDevOps.PullRequest.CommentThread;
+ using Cake.AzureDevOps.Repos.PullRequest;
+ using Cake.AzureDevOps.Repos.PullRequest.CommentThread;
using Cake.Core.Diagnostics;
using Cake.Core.IO;
using Cake.Issues.PullRequests.AzureDevOps.Capabilities;
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings.cs b/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings.cs
index ac5c3eb..54983ac 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps/AzureDevOpsPullRequestSystemSettings.cs
@@ -2,7 +2,7 @@
{
using System;
using Cake.AzureDevOps.Authentication;
- using Cake.AzureDevOps.PullRequest;
+ using Cake.AzureDevOps.Repos.PullRequest;
///
/// Settings for .
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj
index f551874..3213abb 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj
+++ b/src/Cake.Issues.PullRequests.AzureDevOps/Cake.Issues.PullRequests.AzureDevOps.csproj
@@ -30,7 +30,7 @@ See the Project Site for an overview of the whole ecosystem of addins for workin
MIT
git
https://github.com/cake-contrib/Cake.Issues.PullRequests.AzureDevOps.git
- https://github.com/cake-contrib/Cake.Issues.PullRequests.AzureDevOps/releases/tag/0.8.0
+ https://github.com/cake-contrib/Cake.Issues.PullRequests.AzureDevOps/releases/tag/0.9.0
@@ -43,9 +43,9 @@ See the Project Site for an overview of the whole ecosystem of addins for workin
-
-
-
+
+
+
@@ -53,4 +53,4 @@ See the Project Site for an overview of the whole ecosystem of addins for workin
-
\ No newline at end of file
+
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentExtensions.cs b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentExtensions.cs
index a687e82..390ee96 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentExtensions.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentExtensions.cs
@@ -1,6 +1,6 @@
namespace Cake.Issues.PullRequests.AzureDevOps.Capabilities
{
- using Cake.AzureDevOps.PullRequest.CommentThread;
+ using Cake.AzureDevOps.Repos.PullRequest.CommentThread;
///
/// Extensions for .
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentThreadStatusExtensions.cs b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentThreadStatusExtensions.cs
index 60571ad..f062ff8 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentThreadStatusExtensions.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsCommentThreadStatusExtensions.cs
@@ -1,6 +1,6 @@
namespace Cake.Issues.PullRequests.AzureDevOps.Capabilities
{
- using Cake.AzureDevOps.PullRequest.CommentThread;
+ using Cake.AzureDevOps.Repos.PullRequest.CommentThread;
///
/// Extensions for enumeration.
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsPullRequestCommentThreadExtensions.cs b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsPullRequestCommentThreadExtensions.cs
index 0b7fc2a..1772299 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsPullRequestCommentThreadExtensions.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps/Capabilities/AzureDevOpsPullRequestCommentThreadExtensions.cs
@@ -1,7 +1,7 @@
namespace Cake.Issues.PullRequests.AzureDevOps.Capabilities
{
using System.Linq;
- using Cake.AzureDevOps.PullRequest.CommentThread;
+ using Cake.AzureDevOps.Repos.PullRequest.CommentThread;
///
/// Extensions for .
diff --git a/src/Cake.Issues.PullRequests.AzureDevOps/IAzureDevOpsPullRequestSystem.cs b/src/Cake.Issues.PullRequests.AzureDevOps/IAzureDevOpsPullRequestSystem.cs
index 96887cf..2aae084 100644
--- a/src/Cake.Issues.PullRequests.AzureDevOps/IAzureDevOpsPullRequestSystem.cs
+++ b/src/Cake.Issues.PullRequests.AzureDevOps/IAzureDevOpsPullRequestSystem.cs
@@ -1,6 +1,6 @@
namespace Cake.Issues.PullRequests.AzureDevOps
{
- using Cake.AzureDevOps.PullRequest;
+ using Cake.AzureDevOps.Repos.PullRequest;
///
/// Interface for writing issues to Azure DevOps pull requests.