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

adding tests for creating projects on portfolio page #9553

Merged
merged 7 commits into from
Oct 4, 2021

Conversation

ksolo
Copy link
Contributor

@ksolo ksolo commented Oct 1, 2021

Description

The ticket showed a case where you could add multiple instances of the same project to your portfolio page /<username>/portfolio. The existing implementation did not protect against duplicates. This PR adds tests around the creation and a unique constraint over the profile, title, link fields.

Refers/Fixes

Jira: GITC-304

Testing

Tests have been provided via pytest.

@ksolo ksolo marked this pull request as ready for review October 1, 2021 20:11
@ksolo ksolo force-pushed the gitc-304/add-a-project-race-condition branch from 0ca01d5 to 91fad02 Compare October 2, 2021 15:14
yarn.lock Show resolved Hide resolved
@chibie chibie merged commit 8994c21 into master Oct 4, 2021
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.

4 participants