mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
Removing empty object paramater in MigrationsClient.DeleteArchive (#2698)
Co-authored-by: Keegan Campbell <me@kfcampbell.com>
This commit is contained in:
@@ -177,8 +177,7 @@ namespace Octokit.Tests.Clients
|
||||
client.DeleteArchive("fake", 69);
|
||||
|
||||
connection.Received().Delete(
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/fake/migrations/69/archive"),
|
||||
Arg.Any<object>());
|
||||
Arg.Is<Uri>(u => u.ToString() == "orgs/fake/migrations/69/archive"));
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace Octokit
|
||||
|
||||
var endpoint = ApiUrls.EnterpriseMigrationArchive(org, id);
|
||||
|
||||
return ApiConnection.Delete(endpoint, new object());
|
||||
return ApiConnection.Delete(endpoint);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user