Version updates (#3626)

* Update some Labrinth dependencies

* Update some Labrinth dependencies

* Update some Labrinth dependencies

* Update zip in Labrinth

* Update itertools in Labrinth

* Update validator in labrinth

* Update thiserror in labrinth

* Update rust_decimal, redis, and deadpool-redis in labrinth

* Update totp-rs and spdx in labrinth

* Update maxminddb and tar in labrinth

* Update sentry and sentry-actix in labrinth

* Update image in labrinth

* Update lettre in labrinth

* Update derive-new and rust_iso3166 in labrinth

* Update async-stripe and json-patch in labrinth

* Update clap and iana-time-zone in labrinth

* Update labrinth to Rust 2024

* Cargo fmt

* Just do a full cargo update

* Update daedelus to Rust 2024

* Update daedelus_client to Rust 2024

* Set the formatting edition to 2024

* Fix formatting

IntelliJ messed up my formatting
This commit is contained in:
Josiah Glosson
2025-05-09 07:27:55 -05:00
committed by GitHub
parent 6e46317a37
commit 62de07e4e6
146 changed files with 1942 additions and 2311 deletions

View File

@@ -1,9 +1,9 @@
use crate::common::{
api_common::{ApiProject, ApiTeams},
database::{
generate_random_name, ADMIN_USER_PAT, ENEMY_USER_ID_PARSED,
ENEMY_USER_PAT, FRIEND_USER_ID_PARSED, MOD_USER_ID, MOD_USER_PAT,
USER_USER_ID, USER_USER_ID_PARSED,
ADMIN_USER_PAT, ENEMY_USER_ID_PARSED, ENEMY_USER_PAT,
FRIEND_USER_ID_PARSED, MOD_USER_ID, MOD_USER_PAT, USER_USER_ID,
USER_USER_ID_PARSED, generate_random_name,
},
dummy_data::{
DummyImage, DummyOrganizationZeta, DummyProjectAlpha, DummyProjectBeta,
@@ -14,7 +14,7 @@ use common::{
api_v3::ApiV3,
database::{FRIEND_USER_ID, FRIEND_USER_PAT, USER_USER_PAT},
environment::{
with_test_environment, with_test_environment_all, TestEnvironment,
TestEnvironment, with_test_environment, with_test_environment_all,
},
permissions::{PermissionsTest, PermissionsTestContext},
};
@@ -372,9 +372,11 @@ async fn add_remove_organization_projects() {
USER_USER_PAT,
)
.await;
assert!(projects
.iter()
.any(|p| p.id.to_string() == alpha_project_id));
assert!(
projects
.iter()
.any(|p| p.id.to_string() == alpha_project_id)
);
// Add/remove project to organization, first by ID, then by slug
for alpha in [alpha_project_id, alpha_project_slug] {
@@ -411,9 +413,11 @@ async fn add_remove_organization_projects() {
USER_USER_PAT,
)
.await;
assert!(!projects
.iter()
.any(|p| p.id.to_string() == alpha_project_id));
assert!(
!projects
.iter()
.any(|p| p.id.to_string() == alpha_project_id)
);
// Remove project from organization
let resp = test_env
@@ -437,9 +441,11 @@ async fn add_remove_organization_projects() {
USER_USER_PAT,
)
.await;
assert!(projects
.iter()
.any(|p| p.id.to_string() == alpha_project_id));
assert!(
projects
.iter()
.any(|p| p.id.to_string() == alpha_project_id)
);
// Get organization projects
let projects = test_env