Skip to content

Add session CRUD and duration tests #3

Description

@BhoomikaC15

Summary

Add tests for session endpoints and duration calculation.

Scope

  • Create session with session_start and session_end
  • Verify duration_min is computed correctly
  • Verify legacy date + duration_min input still works
  • Test update and delete session routes
  • Test filtering by user_id and category_id

Acceptance Criteria

  • Session creation works with ISO datetime input
  • Duration is calculated from timestamps
  • Existing legacy session format still behaves correctly

Metadata

Metadata

Assignees

No one assigned

    Labels

    testTo create tests

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions