mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(auth): update deny test provider
Signed-off-by: Cea Stapleton Cordasco <261786559+cea-block@users.noreply.github.com>
This commit is contained in:
@@ -563,6 +563,13 @@ mod tests {
|
||||
struct DenyProvider;
|
||||
|
||||
impl AuthorizationProvider for DenyProvider {
|
||||
fn profile_id(&self) -> buzz_auth::AuthorizationProfileId {
|
||||
buzz_auth::AuthorizationProfileId::from_server_configuration(
|
||||
"profile.synthetic-deny.example",
|
||||
)
|
||||
.expect("synthetic profile is valid")
|
||||
}
|
||||
|
||||
fn authorize<'a>(
|
||||
&'a self,
|
||||
_request: &'a AuthorizationRequest,
|
||||
|
||||
Reference in New Issue
Block a user