-
Notifications
You must be signed in to change notification settings - Fork 80
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
Bugfix: Add duplicate organization name check #209
base: develop
Are you sure you want to change the base?
Bugfix: Add duplicate organization name check #209
Conversation
@mtreacy002 I solved the organization name conflict too (this time it is an organization, not a program 😂 ). I expect to face merge conflicts after #189 is merged (they tackle the same files). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NenadPantelic , well done with the fix. I've tested this and it works. But can you please just make one minor change below. After that I'll write the test report and approve. Thanks
follow_redirects=True, | ||
content_type="application/json", | ||
) | ||
self.assertEqual(HTTPStatus.CREATED, response.status_code) | ||
self.assertEqual(messages.ORGANIZATION_SUCCESSFULLY_CREATED, json.loads(response.data)) | ||
|
||
def test_api_dao_create_organization_when_name_not_unique(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NenadPantelic perhaps rename this to "...._when_name_already_exist" to avoid ambiguity coz organization name is unique.
@NenadPantelic , can you please give us update on this? |
Sorry for the delay, I'm busy with other things. I can update this in the next two or three days. Is that OK? The same goes for #189 |
Sure, @NenadPantelic. Thanks for responding. Will look forward to the update. Don't forget to resolve the conflict while you're at it 😉. |
@NenadPantelic , can we please get the updates on this? |
Hi @NenadPantelic are you still working on this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@NenadPantelic hey any updates about this? Please resolve the merge conflicts as well. Thanks!
Hey, I have been busy for the past few months. I'll do my best to finish this up or to close the MR. |
Description
Added handling of the situation when the user tries to create the new organization with the name of some other persisted organization. Fixes #110.
Type of Change:
Code/Quality Assurance Only
How Has This Been Tested?
Checklist:
Code/Quality Assurance Only