Context
Channel creation accepts a name parameter, but edge cases (empty string, only spaces, special characters, extremely long names) may not be fully validated or tested.
Expected change
Add one or more integration tests in backend/tests/ that verify the API rejects invalid channel names with appropriate error responses.
Suggested files
- backend/tests/channels_test.rs (or create a new test file)
- backend/src/services/channel.rs (to inspect current validation logic)
Acceptance criteria
Context
Channel creation accepts a name parameter, but edge cases (empty string, only spaces, special characters, extremely long names) may not be fully validated or tested.
Expected change
Add one or more integration tests in backend/tests/ that verify the API rejects invalid channel names with appropriate error responses.
Suggested files
Acceptance criteria