Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

[FEATURE] Write unit tests for Activity Event features #319

@umtsndg

Description

@umtsndg

📌 Description

Ensure every created event strictly follows Activity Streams 2.0 specifications through backend tests.

✅ Acceptance Criteria

  • All events include @context, type, actor, object, and published.
  • Invalid or incomplete events are rejected.
  • Automated test suite runs successfully.
  • Validation errors are descriptive.

📋 Tasks

  • Write unit tests that create various AS2 events.
  • Test for missing or malformed fields.
  • Add AS2 schema validation helper.
  • Integrate validation tests into CI/CD pipeline.

👥 Assignees

Metadata

Metadata

Assignees

Labels

3-6 hoursExpected time of the taskenhancementNew feature or requestpr:highHigh-Priority task

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions