Skip to content

[FLOW-18] add unit test for create organisations code. #15

Merged
CodeForContribute merged 4 commits intodevelopfrom
feature/flow-18-add-unit-test-for-create-organ
Feb 12, 2026
Merged

[FLOW-18] add unit test for create organisations code. #15
CodeForContribute merged 4 commits intodevelopfrom
feature/flow-18-add-unit-test-for-create-organ

Conversation

@CodeForContribute
Copy link
Copy Markdown
Owner

Summary

Added unit tests for the createOrganisation function, covering successful creation and common error scenarios.

Task Details

add unit test for create organisations code.

Task: FLOW-18


This PR was generated by FlowForge AI agent.

@vercel
Copy link
Copy Markdown

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
flowforge Error Error Feb 12, 2026 9:24am

@CodeForContribute
Copy link
Copy Markdown
Owner Author

write some more unit tests cases covering negative test cases.

@CodeForContribute
Copy link
Copy Markdown
Owner Author

write some more unit tests cases covering negative test cases.

1 similar comment
@CodeForContribute
Copy link
Copy Markdown
Owner Author

write some more unit tests cases covering negative test cases.

@CodeForContribute
Copy link
Copy Markdown
Owner Author

Code Updated by FlowForge

New code has been generated and pushed to this branch.

Summary

Added unit tests for the createOrganization function, including success and error scenarios, following existing test structure and conventions.


This update was generated by FlowForge AI agent.

@CodeForContribute
Copy link
Copy Markdown
Owner Author

Thank you for using the FlowForge AI agent to add unit tests for the createOrganization function. It's great to see that both success and error scenarios have been covered, and that the existing test structure and conventions have been followed. If you have any feedback about the update or notice any issues, please let us know. We're committed to maintaining high-quality testing standards and appreciate your input!

Response generated by FlowForge AI agent.

@CodeForContribute
Copy link
Copy Markdown
Owner Author

write some more unit tests cases covering negative test cases.

@CodeForContribute
Copy link
Copy Markdown
Owner Author

is it done ?

@CodeForContribute
Copy link
Copy Markdown
Owner Author

Thanks for the feedback, @CodeForContribute! I've made the following changes:

Added a new test file test_create_organisation.py with unit tests for the create_organisation function. These include both positive and negative test cases as requested, such as missing fields, invalid email format, and empty payload validation.

Files modified: tests/test_create_organisation.py

Changes committed by FlowForge AI agent.

@CodeForContribute
Copy link
Copy Markdown
Owner Author

LGTM

@CodeForContribute CodeForContribute merged commit c54d8d8 into develop Feb 12, 2026
2 of 5 checks passed
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.

1 participant