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

Frontend create event unit test #243

Merged
merged 3 commits into from
Dec 13, 2021
Merged

Conversation

berkaydoner
Copy link
Collaborator

I have added two unit tests for the helper methods I implemented in create event page.

One method takes two dates and returns if the first parameter is before the second one. I tested this method with various pairs, I changed the minutes, hours, days.. in these pairs and checked each case.

Other method checks if the given string is in integer format like 1, 1.001. I checked this method with various input strings.

All tests pass on my system.

@sseff
Copy link
Collaborator

sseff commented Dec 13, 2021

All tests running and there is no failure.

@sseff sseff merged commit c8fa719 into development Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants