Skip to content

Trib 199 #149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 22 commits into from
Feb 21, 2024
Merged

Trib 199 #149

merged 22 commits into from
Feb 21, 2024

Conversation

loretdemolas
Copy link
Contributor

No description provided.

loretdemolas and others added 11 commits October 12, 2023 21:28
-fixed compile errors and syntax errors
Added ResponseEntity to endpoint to adhere to mythical style guide
-Formatted response entities with correct status codes
modified api route to sent an object instead of a boolen response entity
NotificationAPIController.java
modified genericmessageDto to use a new service
GenericMessageService.java
-added interface for createMessageDTO
GenericMessageServiceImpl.java
-added function createMessageDTO
NotificationService.java
-removed interface for createMessageDTO
NotificationServiceImpl.java
-removed function createMessageDTO
…ooleen.

pages affected:

AttributesAPIController.java
AuthAPIController.java
NotificationAPIController.java
PermissionsAPIController.java
ProfileAPIController.java
GenericMessageService.java
GenericMessageServiceImpl.java
@loretdemolas loretdemolas requested a review from haxwell February 7, 2024 00:54
-added a bracket that was deleted and broke the code.
-Updated test to reflect new genericDTO with new service location
Copy link
Contributor

@haxwell haxwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note for our future selves: This build is failing due to tests that need to be updated to reflect this PRs changes. Sebastian is on it.

@haxwell
Copy link
Contributor

haxwell commented Feb 13, 2024

@loretdemolas Is this PR still necessary?

Fixed AttributesAPITest by including genericMessageDTO service to the test,

Broke AuthAPITest and ConnectAPITest
-fixed imports and fixed unit test
-Fixed API test by using andExpect(jsonPath) instead of creating an object to compare it too.
Fix test involving genericDto's booleanMessage
-Fixed test involving GenericMessageDTO
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (7f7cf57) 75.42% compared to head (f738ea9) 75.58%.

Files Patch % Lines
...o/tribeapp/services/GenericMessageServiceImpl.java 70.00% 3 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop     #149      +/-   ##
=============================================
+ Coverage      75.42%   75.58%   +0.15%     
- Complexity       652      655       +3     
=============================================
  Files             98       99       +1     
  Lines           1994     2007      +13     
  Branches         269      269              
=============================================
+ Hits            1504     1517      +13     
  Misses           446      446              
  Partials          44       44              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@haxwell haxwell merged commit 1a9c9d1 into savvato-software:develop Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants