Skip to content

Bug Fix for Feed Events #133

Bug Fix for Feed Events

Bug Fix for Feed Events #133

GitHub Actions / Test Suite succeeded Feb 12, 2025 in 0s

125 passed, 0 failed and 0 skipped

Tests passed successfully

Report Passed Failed Skipped Time
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.BetaAccessSignUpServiceTests.xml 7✅ 59ms
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.ChatMessageServiceTests.xml 24✅ 2s
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.EventServiceTests.xml 28✅ 435ms
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.FriendRequestServiceTests.xml 11✅ 68ms
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.FriendTagServiceTests.xml 16✅ 216ms
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.LocationServiceTests.xml 8✅ 23ms
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.OAuthServiceTests.xml 14✅ 159ms
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.SpawnApplicationTests.xml 1✅ 4ms
target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.UserServiceTests.xml 16✅ 54ms

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.BetaAccessSignUpServiceTests.xml

7 tests were completed in 59ms with 7 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.BetaAccessSignUpServiceTests 7✅ 59ms

✅ com.danielagapov.spawn.ServiceTests.BetaAccessSignUpServiceTests

✅ testSignUp_Success
✅ testGetAllBetaAccessSignUpRecords_Success
✅ testSignUp_DataAccessException
✅ testGetAllBetaAccessSignUpRecords_DataAccessException
✅ testGetAllEmails_Success
✅ testSignUp_GenericException
✅ testGetAllEmails_Exception

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.ChatMessageServiceTests.xml

24 tests were completed in 2s with 24 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.ChatMessageServiceTests 24✅ 2s

✅ com.danielagapov.spawn.ServiceTests.ChatMessageServiceTests

✅ getChatMessageById_ShouldThrowBaseNotFoundException_WhenMessageNotFound
✅ getChatMessageIdsByEventId_ShouldThrowBaseNotFoundException_WhenEventNotFound
✅ getFullChatMessageByChatMessage_ShouldReturnFullEventChatMessageDTO
✅ getChatMessageLikeUserIds_ShouldThrowBaseNotFoundException_WhenChatMessageNotFound
✅ deleteChatMessage_ShouldThrowException_WhenMessageDoesNotExist
✅ deleteChatMessageLike_ShouldDeleteLike_WhenLikeExists
✅ getChatMessageById_ShouldReturnChatMessageDTO_WhenMessageExists
✅ saveChatMessage_ShouldSaveMessage_WhenValid
✅ saveChatMessage_ShouldThrowException_WhenEventNotFound
✅ getChatMessageLikeUserIds_ShouldReturnUserIds_WhenLikesExist
✅ convertChatMessagesToFullFeedEventChatMessages_ShouldReturnConvertedList
✅ createChatMessageLike_ShouldThrowEntityAlreadyExistsException_WhenLikeAlreadyExists
✅ getChatMessageIdsByEventId_ShouldReturnIds_WhenEventExists
✅ getAllChatMessages_ShouldThrowBasesNotFoundException_WhenDataAccessExceptionOccurs
✅ getChatMessagesByEventId_ShouldThrowBasesNotFoundException_WhenDataAccessExceptionOccurs
✅ createChatMessageLike_ShouldReturnChatMessageLikesDTO_WhenLikeIsCreated
✅ deleteChatMessage_ShouldDeleteMessage_WhenMessageExists
✅ getChatMessagesByEventId_ShouldReturnChatMessageDTOs_WhenEventExists
✅ getChatMessageLikes_ShouldThrowBaseNotFoundException_WhenChatMessageNotFound
✅ getAllChatMessages_ShouldReturnChatMessages_WhenMessagesExist
✅ getChatMessageLikes_ShouldReturnUserDTOs_WhenLikesExist
✅ getFullChatMessagesByEventId_ShouldReturnListOfFullEventChatMessageDTOs
✅ deleteChatMessageLike_ShouldThrowBasesNotFoundException_WhenLikeDoesNotExist
✅ getFullChatMessageById_ShouldReturnFullEventChatMessageDTO_WhenMessageExists

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.EventServiceTests.xml

28 tests were completed in 435ms with 28 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.EventServiceTests 28✅ 435ms

✅ com.danielagapov.spawn.ServiceTests.EventServiceTests

✅ getFullEventById_ShouldReturnFullFeedEventDTO_WhenEventExists
✅ toggleParticipation_ShouldToggleStatus_WhenUserIsInvitedOrParticipating
✅ getEventById_ShouldReturnEvent_WhenEventExists
✅ getEventsByOwnerId_ShouldReturnEvents_WhenOwnerExists
✅ saveEvent_ShouldSaveEvent_WhenValidData
✅ getParticipatingUsersByEventId_ShouldReturnUserDTOs_WhenParticipantsExist
✅ createEvent_Successful
✅ convertEventsToFullFeedSelfOwnedEvents_ShouldReturnConvertedListWithAccent
✅ deleteEventById_ShouldDeleteEvent_WhenEventExists
✅ getParticipationStatus_ShouldReturnStatus_WhenUserParticipates
✅ getFriendTagColorHexCodeForRequestingUser_ShouldReturnColorHexCode
✅ inviteUser_ShouldInviteUser_WhenNotAlreadyInvited
✅ replaceEvent_ShouldReplaceEvent_WhenEventExists
✅ getAllFullEvents_ShouldReturnFullFeedEvents_WhenEventsExist
✅ getEventsInvitedTo_ShouldReturnEvents_WhenUserIsInvited
✅ createEvent_Fails_WhenLocationNotCreated
✅ saveEvent_ShouldThrowException_WhenDatabaseErrorOccurs
✅ replaceEvent_ShouldCreateNewEvent_WhenEventNotFound
✅ getEventsByFriendTagId_ShouldReturnEvents_WhenFriendsExist
✅ getFullEventsInvitedTo_ShouldReturnFullEvents_WhenUserIsInvited
✅ deleteEventById_ShouldThrowException_WhenEventNotFound
✅ getFullEventByEvent_ShouldReturnFullFeedEventDTO
✅ getParticipationStatus_ShouldReturnNotInvited_WhenUserNotFound
✅ inviteUser_ShouldReturnTrue_WhenUserAlreadyInvited
✅ convertEventsToFullFeedEvents_ShouldReturnConvertedList
✅ createEvent_MergesInvites_Correctly
✅ getAllEvents_ShouldReturnList_WhenEventsExist
✅ deleteEventById_ShouldReturnFalse_WhenDatabaseErrorOccurs

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.FriendRequestServiceTests.xml

11 tests were completed in 68ms with 11 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.FriendRequestServiceTests 11✅ 68ms

✅ com.danielagapov.spawn.ServiceTests.FriendRequestServiceTests

✅ acceptFriendRequest_ShouldAddFriendAndDeleteRequest_WhenValidRequest
✅ deleteFriendRequest_ShouldDeleteRequest_WhenValidId
✅ deleteFriendRequest_ShouldThrowException_WhenDataAccessExceptionOccurs
✅ saveFriendRequest_ShouldThrowException_WhenSenderOrReceiverIsNull
✅ getIncomingFriendRequestsByUserId_ShouldReturnMultipleRequests_WhenMultipleRequestsExist
✅ getIncomingFriendRequestsByUserId_ShouldReturnRequests_WhenRequestsExist
✅ saveFriendRequest_ShouldThrowBaseSaveException_WhenDataAccessExceptionOccurs
✅ saveFriendRequest_ShouldSaveAndReturnDTO_WhenValidRequest
✅ acceptFriendRequest_ShouldThrowBaseNotFoundException_WhenRequestNotFound
✅ getIncomingFriendRequestsByUserId_ShouldReturnEmptyList_WhenNoRequestsFound
✅ getIncomingFriendRequestsByUserId_ShouldThrowDataAccessException_WhenDataAccessExceptionOccurs

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.FriendTagServiceTests.xml

16 tests were completed in 216ms with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.FriendTagServiceTests 16✅ 216ms

✅ com.danielagapov.spawn.ServiceTests.FriendTagServiceTests

✅ getFriendTagById_ShouldReturnFriendTag_WhenFriendTagExists
✅ getAllFriendTags_ShouldThrowException_WhenDatabaseErrorOccurs
✅ saveUserToFriendTag_ShouldThrowException_WhenFriendTagNotFound
✅ getFriendTagById_ShouldThrowException_WhenFriendTagNotFound
✅ replaceFriendTag_ShouldCreateFriendTag_WhenFriendTagDoesNotExist
✅ saveFriendTag_ShouldSaveFriendTag_WhenValidData
✅ getFriendTagsByOwnerId_ShouldReturnEmptyList_WhenOwnerHasNoTags
✅ deleteFriendTagById_ShouldThrowException_WhenFriendTagDoesNotExist
✅ deleteFriendTagById_ShouldDeleteFriendTag_WhenFriendTagExists
✅ getAllFriendTags_ShouldReturnEmptyList_WhenNoTagsExist
✅ replaceFriendTag_ShouldUpdateFriendTag_WhenFriendTagExists
✅ saveUserToFriendTag_ShouldThrowException_WhenDatabaseErrorOccurs
✅ saveUserToFriendTag_ShouldThrowException_WhenUserNotFound
✅ saveFriendTag_ShouldThrowException_WhenUnexpectedErrorOccurs
✅ deleteFriendTagById_ShouldDeleteAssociatedUserFriendTags
✅ saveFriendTag_ShouldThrowException_WhenDatabaseErrorOccurs

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.LocationServiceTests.xml

8 tests were completed in 23ms with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.LocationServiceTests 8✅ 23ms

✅ com.danielagapov.spawn.ServiceTests.LocationServiceTests

✅ getLocationEntityById_ShouldThrowBaseNotFoundException_WhenLocationDoesNotExist
✅ getAllLocations_ShouldThrowBasesNotFoundException_WhenDataAccessExceptionOccurs
✅ save_ShouldThrowApplicationException_WhenDataAccessExceptionOccurs
✅ getLocationEntityById_ShouldReturnLocation_WhenLocationExists
✅ getAllLocations_ShouldReturnLocationDTOList_WhenLocationsExist
✅ save_ShouldReturnSavedLocation_WhenSuccessful
✅ getLocationById_ShouldThrowBaseNotFoundException_WhenLocationDoesNotExist
✅ getLocationById_ShouldReturnLocationDTO_WhenLocationExists

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.OAuthServiceTests.xml

14 tests were completed in 159ms with 14 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.OAuthServiceTests 14✅ 159ms

✅ com.danielagapov.spawn.ServiceTests.OAuthServiceTests

✅ testMakeUser_ExistingUserByExternalId_Google
✅ testMakeUser_ExistingUserByExternalId_Apple
✅ testMakeUser_LargeProfilePicture
✅ testMakeUser_ExistingUserByEmail_Apple
✅ testMakeUser_NewUser_Google
✅ testMakeUser_NullExternalUserId
✅ testMakeUser_DatabaseException_Apple
✅ testMakeUser_NullEmailInUserDTO
✅ testMakeUser_NewUser_Apple
✅ testMakeUser_UnexpectedException_Google
✅ testMakeUser_ExistingUserByEmail_Google
✅ testMakeUser_UnexpectedException_Apple
✅ testMakeUser_DatabaseException_Google
✅ testMakeUser_ExistingMappingDifferentEmail

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.SpawnApplicationTests.xml

1 tests were completed in 4ms with 1 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.SpawnApplicationTests 1✅ 4ms

✅ com.danielagapov.spawn.ServiceTests.SpawnApplicationTests

✅ contextLoads

✅ target/surefire-reports/TEST-com.danielagapov.spawn.ServiceTests.UserServiceTests.xml

16 tests were completed in 54ms with 16 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
com.danielagapov.spawn.ServiceTests.UserServiceTests 16✅ 54ms

✅ com.danielagapov.spawn.ServiceTests.UserServiceTests

✅ getUserById_ShouldReturnUser_WhenUserExists
✅ saveUser_ShouldLogException_WhenUnexpectedErrorOccurs
✅ getAllUsers_ShouldReturnList_WhenUsersExist
✅ deleteUserById_ShouldDeleteUser_WhenUserExists
✅ deleteUserById_ShouldThrowException_WhenUserDoesNotExist
✅ getAllUsers_ShouldThrowException_WhenDatabaseErrorOccurs
✅ replaceUser_ShouldCreateUser_WhenUserDoesNotExist
✅ deleteUserById_ShouldNotCallDelete_WhenUserDoesNotExist
✅ saveUser_ShouldThrowException_WhenDatabaseErrorOccurs
✅ deleteUserById_ShouldLogException_WhenUnexpectedErrorOccurs
✅ replaceUser_ShouldLogException_WhenUnexpectedErrorOccurs
✅ replaceUser_ShouldUpdateUser_WhenUserExists
✅ deleteUserById_ShouldReturnFalse_WhenDatabaseErrorOccurs
✅ getUserById_ShouldThrowException_WhenUserDoesNotExist
✅ replaceUser_ShouldThrowException_WhenDatabaseErrorOccurs
✅ getAllUsers_ShouldReturnEmptyList_WhenNoUsersExist