Skip to content

Conversation

@staszkiet
Copy link
Member

No description provided.

@kTrzcinskii kTrzcinskii requested a review from kubapoke March 25, 2025 12:13
Assert.Equal(id, result.Value!.Id);
Assert.Equal(organizerEmail, result.Value!.Organizer.Email);
}
} No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

This lacks tests for the checks that you've specifically implemented (checking whether the start/end dates are in the future), so I think you should add these tests

Assert.Equal("Event created succesfully", objectResult.Value);

}
} No newline at end of file
Copy link
Member

Choose a reason for hiding this comment

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

You should probably add a test for checking whether the email claim isn't missing. It's present in other controller tests

Copy link
Member

@kubapoke kubapoke left a comment

Choose a reason for hiding this comment

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

I think everything seems good now, good job

@staszkiet staszkiet merged commit 9c672c5 into develop Mar 29, 2025
1 check passed
@kTrzcinskii kTrzcinskii deleted the feat/addEvent branch March 31, 2025 06:36
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