Skip to content

Conversation

@Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Oct 14, 2024

For tests we don't need the "upsert" behavior of create_or_update() and since we're passing in None we don't need the email sending behavior either, so let's simplify this to only insert the user in the database and nothing else :)

For tests we don't need the "upsert" behavior of `create_or_update()` and since we're passing in `None` we don't need the email sending behavior either, so let's simplify this to only insert the user in the database and nothing else :)
@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Oct 14, 2024
@codecov
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.68%. Comparing base (ed4eb9f) to head (f1f0d1c).
Report is 7 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9666   +/-   ##
=======================================
  Coverage   88.68%   88.68%           
=======================================
  Files         288      288           
  Lines       29369    29370    +1     
=======================================
+ Hits        26047    26048    +1     
  Misses       3322     3322           

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

@Turbo87 Turbo87 merged commit 32e8891 into rust-lang:main Oct 15, 2024
10 checks passed
@Turbo87 Turbo87 deleted the simplify-test-user branch October 15, 2024 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant