Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix push package API to return conlfict for existing ID #3224

Merged
merged 2 commits into from
Sep 13, 2016

Conversation

shishirx34
Copy link
Contributor

// Arrange
var user = new User { EmailAddress = "confirmed@email.com" };
var packageRegistration = new PackageRegistration();
packageRegistration.Id = "theId";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to do

var sharedPackageId = "theId";
...
packageRegistration.Id = sharedPackageId;
...
var nuGetPackage = TestPackage.CreateTestPackageStream(sharedPackageId, "1.0.42");
...
String.Format(Strings.PackageIdNotAvailable, sharedPackageId));

so that all of the uses are programmatically linked to the same value.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't think its much significant #wontfix

@skofman1
Copy link
Contributor

skofman1 commented Sep 6, 2016

:shipit:

@shishirx34
Copy link
Contributor Author

@xavierdecoster @ryuyu could I get another sign off?

@xavierdecoster
Copy link
Member

:shipit:

@shishirx34 shishirx34 merged commit 8391f52 into dev Sep 13, 2016
@maartenba maartenba mentioned this pull request Sep 14, 2016
5 tasks
@shishirx34 shishirx34 deleted the fixPushPackageApi branch October 13, 2016 21:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants