Skip to content

Commit

Permalink
tests/builders/krate: Remove crates.downloads column writes (#8422)
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 authored Apr 9, 2024
1 parent ca8520a commit 4a157ed
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/tests/builders/krate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,6 @@ impl<'a> CrateBuilder<'a> {
update(crate_downloads::table.filter(crate_downloads::crate_id.eq(krate.id)))
.set(crate_downloads::downloads.eq(downloads as i64))
.execute(connection)?;

krate = update(&krate)
.set(crates::downloads.eq(downloads))
.returning(Crate::as_returning())
.get_result(connection)?;
}

if self.versions.is_empty() {
Expand Down

0 comments on commit 4a157ed

Please sign in to comment.