Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
 into feat/solution
  • Loading branch information
K0nnyaku committed Dec 17, 2024
2 parents 5e7754f + 623a722 commit 343a990
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/models/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pub struct Account {
pub college: Option<String>,
pub major: Option<String>,

pub rating: i8,
pub rating: i32,
pub active: bool,

pub created_at: chrono::NaiveDateTime,
Expand Down
4 changes: 2 additions & 2 deletions tests/organization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ async fn test_organization() -> Result<()> {
println!("Created organization: {}", data.id);

let response = client
.post(format!("/org/delete/{}", id))
.post(format!("/org/delete/{}", data.id))
.json(&Credentials {
id: &id,
token: &token,
Expand All @@ -80,7 +80,7 @@ async fn test_organization() -> Result<()> {

response.into_json::<Response<Empty>>().await.unwrap();

assert!(!Path::new("content").join(id.clone()).exists());
assert!(!Path::new("content").join(data.id.clone()).exists());

client
.post(format!("/account/delete/{}", id))
Expand Down

0 comments on commit 343a990

Please sign in to comment.