File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
nexus/tests/integration_tests Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ use omicron_test_utils::certificates::CertificateChain;
4242use semver:: Version ;
4343use std:: net:: IpAddr ;
4444use std:: net:: Ipv4Addr ;
45+ use std:: num:: NonZeroU32 ;
4546use std:: str:: FromStr ;
4647use std:: sync:: LazyLock ;
4748
@@ -1632,6 +1633,20 @@ pub static VERIFY_ENDPOINTS: LazyLock<Vec<VerifyEndpoint>> =
16321633 ) ,
16331634 ] ,
16341635 } ,
1636+ VerifyEndpoint {
1637+ url: "/v1/settings" ,
1638+ visibility: Visibility :: Public ,
1639+ unprivileged_access: UnprivilegedAccess :: ReadOnly ,
1640+ allowed_methods: vec![
1641+ AllowedMethod :: Get ,
1642+ AllowedMethod :: Put (
1643+ serde_json:: to_value( & params:: SiloSettingsUpdate {
1644+ device_token_max_ttl_seconds: NonZeroU32 :: new( 3 ) ,
1645+ } )
1646+ . unwrap( ) ,
1647+ ) ,
1648+ ] ,
1649+ } ,
16351650 VerifyEndpoint {
16361651 url: "/v1/users" ,
16371652 visibility: Visibility :: Public ,
You can’t perform that action at this time.
0 commit comments