Skip to content
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

[Backend]Test teams creation/update (#1491) #2149

Merged
merged 4 commits into from
Jan 7, 2025
Merged

Conversation

johanah29
Copy link
Member

@johanah29 johanah29 self-assigned this Jan 2, 2025
@johanah29 johanah29 linked an issue Jan 2, 2025 that may be closed by this pull request
Copy link

codecov bot commented Jan 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 36.86%. Comparing base (a92c8f0) to head (e2f88da).
Report is 2 commits behind head on release/1.11.0.

Additional details and impacted files
@@                 Coverage Diff                  @@
##             release/1.11.0    #2149      +/-   ##
====================================================
+ Coverage             36.56%   36.86%   +0.30%     
- Complexity             1505     1526      +21     
====================================================
  Files                   546      546              
  Lines                 16630    16630              
  Branches               1061     1061              
====================================================
+ Hits                   6080     6131      +51     
+ Misses                10241    10183      -58     
- Partials                309      316       +7     

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

@RomuDeuxfois
Copy link
Member

Can you take care of upsertTeam as well ? thx

@@ -2,25 +2,32 @@

Copy link
Contributor

Choose a reason for hiding this comment

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

Can't comment on the correct lines: good to inherit from our IntegrationTests class to benefit from free annotations (further consolidating common behaviour in e2e endpoint tests)

Copy link
Contributor

@antoinemzs antoinemzs Jan 6, 2025

Choose a reason for hiding this comment

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

Make TeamApiTests @Transactional too? And remove cleanup calls.

@RomuDeuxfois
Copy link
Member

Ready for a second round :)

Copy link
Contributor

@antoinemzs antoinemzs left a comment

Choose a reason for hiding this comment

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

lgtm

@RomuDeuxfois RomuDeuxfois merged commit 3910f47 into release/1.11.0 Jan 7, 2025
6 checks passed
@RomuDeuxfois RomuDeuxfois deleted the issue/1491 branch January 7, 2025 15:21
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.

[ Unit testing - people scope ] - teams creation/update
3 participants