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

Consumer API: Block new relationship when old one is in status deletion proposed #799

Conversation

tnotheis
Copy link
Member

@tnotheis tnotheis commented Aug 9, 2024

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration tests.
  • I ensured that the PR title is good enough for the changelog.
  • I labeled the PR.

@tnotheis tnotheis added the enhancement New feature or request label Aug 9, 2024
Copy link
Member

@jkoenig134 jkoenig134 left a comment

Choose a reason for hiding this comment

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

LGTM :)

@tnotheis tnotheis self-assigned this Aug 9, 2024
@tnotheis
Copy link
Member Author

tnotheis commented Aug 9, 2024

@britsta FYI

@tnotheis tnotheis changed the title Block new relationship when old one is in status deletion proposed Consumer API: Block new relationship when old one is in status deletion proposed Aug 9, 2024
@tnotheis tnotheis merged commit fa7b28c into main Aug 9, 2024
25 checks passed
@tnotheis tnotheis deleted the block-new-relationship-when-old-one-is-in-status-deletion-proposed branch August 9, 2024 11:07
}

[Fact]
public void A_new_relationship_can_be_created_after_decomposing_the_old_one()
public void Cannot_create_Relationship_if_terminated_Relationship_exists()
Copy link
Contributor

Choose a reason for hiding this comment

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

Wasn't this tested in the first test above?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh man... I forgot to delete the old tests and rename the new one (it still contains "2" in its name)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants