mirror of
https://github.com/kanidm/kanidm.git
synced 2025-06-04 07:13:54 +02:00
Tests
This commit is contained in:
parent
ac44983377
commit
d1d9aee1e1
25
Cargo.lock
generated
25
Cargo.lock
generated
|
@ -483,9 +483,9 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|||
|
||||
[[package]]
|
||||
name = "base64ct"
|
||||
version = "1.7.1"
|
||||
version = "1.7.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "bb97d56060ee67d285efb8001fec9d2a4c710c32efd2e14b5cbb5ba71930fc2d"
|
||||
checksum = "89e25b6adfb930f02d1981565a6e5d9c547ac15a96606256d3b59040e5cd4ca3"
|
||||
|
||||
[[package]]
|
||||
name = "base64urlsafedata"
|
||||
|
@ -3958,9 +3958,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "once_cell"
|
||||
version = "1.21.0"
|
||||
version = "1.21.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cde51589ab56b20a6f686b2c68f7a0bd6add753d697abf720d63f8db3ab7b1ad"
|
||||
checksum = "d75b0bedcc4fe52caa0e03d9f1151a323e4aa5e2d78ba3580400cd3c9e2bc4bc"
|
||||
|
||||
[[package]]
|
||||
name = "openssl"
|
||||
|
@ -4339,9 +4339,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "prettyplease"
|
||||
version = "0.2.30"
|
||||
version = "0.2.31"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "f1ccf34da56fc294e7d4ccf69a85992b7dfb826b7cf57bac6a70bba3494cc08a"
|
||||
checksum = "5316f57387668042f561aae71480de936257848f9c43ce528e311d89a07cadeb"
|
||||
dependencies = [
|
||||
"proc-macro2",
|
||||
"syn 2.0.100",
|
||||
|
@ -5470,11 +5470,10 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
|
|||
|
||||
[[package]]
|
||||
name = "tempfile"
|
||||
version = "3.18.0"
|
||||
version = "3.19.0"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "2c317e0a526ee6120d8dabad239c8dadca62b24b6f168914bbbc8e2fb1f0e567"
|
||||
checksum = "488960f40a3fd53d72c2a29a58722561dee8afdd175bd88e3db4677d7b2ba600"
|
||||
dependencies = [
|
||||
"cfg-if",
|
||||
"fastrand",
|
||||
"getrandom 0.3.1",
|
||||
"once_cell",
|
||||
|
@ -5628,9 +5627,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tokio"
|
||||
version = "1.44.0"
|
||||
version = "1.44.1"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "9975ea0f48b5aa3972bf2d888c238182458437cc2a19374b81b25cdf1023fb3a"
|
||||
checksum = "f382da615b842244d4b8738c82ed1275e6c5dd90c459a30941cd07080b06c91a"
|
||||
dependencies = [
|
||||
"backtrace",
|
||||
"bytes",
|
||||
|
@ -5700,9 +5699,9 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "tokio-util"
|
||||
version = "0.7.13"
|
||||
version = "0.7.14"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "d7fcaa8d55a2bdd6b83ace262b016eca0d79ee02818c5c1bcdf0305114081078"
|
||||
checksum = "6b9590b93e6fcc1739458317cccd391ad3955e2bde8913edf6f95f9e65a8f034"
|
||||
dependencies = [
|
||||
"bytes",
|
||||
"futures-core",
|
||||
|
|
|
@ -776,7 +776,7 @@ async fn test_cache_nxset_account() {
|
|||
homedir: Default::default(),
|
||||
shell: Default::default(),
|
||||
}],
|
||||
None,
|
||||
vec![],
|
||||
vec![],
|
||||
)
|
||||
.await;
|
||||
|
@ -832,7 +832,7 @@ async fn test_cache_nxset_group() {
|
|||
cachelayer
|
||||
.reload_system_identities(
|
||||
vec![],
|
||||
None,
|
||||
vec![],
|
||||
vec![EtcGroup {
|
||||
name: "testgroup1".to_string(),
|
||||
// Important! We set the GID to differ from what kanidm stores so we can
|
||||
|
@ -940,7 +940,7 @@ async fn test_cache_authenticate_system_account() {
|
|||
shell: Default::default(),
|
||||
}
|
||||
],
|
||||
Some(vec![
|
||||
vec![
|
||||
EtcShadow {
|
||||
name: "testaccount1".to_string(),
|
||||
// The very secure password, "a".
|
||||
|
@ -965,7 +965,7 @@ async fn test_cache_authenticate_system_account() {
|
|||
epoch_expire_date: Some(380),
|
||||
flag_reserved: None
|
||||
},
|
||||
]),
|
||||
],
|
||||
vec![],
|
||||
)
|
||||
.await;
|
||||
|
@ -1111,7 +1111,7 @@ async fn test_cache_extend_group_members() {
|
|||
homedir: Default::default(),
|
||||
shell: Default::default(),
|
||||
}],
|
||||
None,
|
||||
vec![],
|
||||
vec![EtcGroup {
|
||||
// This group is configured to allow extension from
|
||||
// the group "testgroup1"
|
||||
|
|
Loading…
Reference in a new issue