crates/common: update tests for new jobset fields
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I8acc93cf9870926967258996fdcd37776a6a6964
This commit is contained in:
parent
a52c61556a
commit
095d107112
1 changed files with 6 additions and 0 deletions
|
|
@ -50,6 +50,8 @@ async fn create_test_jobset(pool: &sqlx::PgPool, project_id: uuid::Uuid) -> Jobs
|
||||||
enabled: Some(true),
|
enabled: Some(true),
|
||||||
flake_mode: None,
|
flake_mode: None,
|
||||||
check_interval: None,
|
check_interval: None,
|
||||||
|
branch: None,
|
||||||
|
scheduling_shares: None,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|
@ -202,6 +204,8 @@ async fn test_jobset_crud() {
|
||||||
enabled: Some(true),
|
enabled: Some(true),
|
||||||
flake_mode: None,
|
flake_mode: None,
|
||||||
check_interval: None,
|
check_interval: None,
|
||||||
|
branch: None,
|
||||||
|
scheduling_shares: None,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|
@ -232,6 +236,8 @@ async fn test_jobset_crud() {
|
||||||
enabled: Some(false),
|
enabled: Some(false),
|
||||||
flake_mode: None,
|
flake_mode: None,
|
||||||
check_interval: None,
|
check_interval: None,
|
||||||
|
branch: None,
|
||||||
|
scheduling_shares: None,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
.await
|
.await
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue