improve ssh url deserialization tests
This commit is contained in:
parent
80cba9a6c3
commit
ea25b2f359
3 changed files with 39 additions and 97 deletions
|
|
@ -430,9 +430,3 @@ async fn admin() {
|
|||
.await
|
||||
.expect("failed to delete hook");
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ssh_url_deserialization() {
|
||||
let data = include_str!("./repo_data.json");
|
||||
assert!(serde_json::from_str::<Repository>(data).is_ok());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue