Initial commit - ERP

This commit is contained in:
2026-08-05 21:15:15 +03:00
commit 3908155685
1203 changed files with 85576 additions and 0 deletions
@@ -0,0 +1,36 @@
# Tester_Agent - Conversation Entity Tests
## Task:
Create unit tests for Conversation entity
## Requirements:
- Create tests in Chat.Tests project
- Test all Conversation entity properties:
- Id
- Participant1Id
- Participant2Id
- CreatedAt
- LastMessageId (nullable)
- LastMessageAt
- UnreadCount1
- UnreadCount2
## Test Cases to Implement:
1. Test_CanCreateConversationWithDefaultValues
2. Test_CanCreateConversationWithAllProperties
3. Test_ConversationPropertiesAreCorrectlySet
4. Test_LastMessageIdCanBeNullable
5. Test_CreatedAtDefaultsToCurrentTime
6. Test_UnreadCountsDefaultToZero
## Test Framework:
- Use xUnit
- Use FluentAssertions for assertions
## Output Location:
/mnt/data/Work/Programming/MainProgram/Backend/APIs/ERP/Managerial/Communication/Chat/Chat.Tests/ConversationTests.cs
## Status:
- [ ] Create test file
- [ ] Implement all test cases
- [ ] Ensure tests compile