Skip to content

Commit

Permalink
Update test logs
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Cattermole <acatterm@redhat.com>
  • Loading branch information
adam-cattermole committed Oct 8, 2024
1 parent cae111a commit ccf0d7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ fn it_auths() {
.returning(Some(&grpc_response))
.expect_log(
Some(LogLevel::Debug),
Some("#2 process_auth_grpc_response: received OkHttpResponse"),
Some("process_auth_grpc_response: received OkHttpResponse"),
)
.execute_and_expect(ReturnType::None)
.unwrap();
Expand Down Expand Up @@ -339,7 +339,7 @@ fn it_denies() {
.returning(Some(&grpc_response))
.expect_log(
Some(LogLevel::Debug),
Some("#2 process_auth_grpc_response: received DeniedHttpResponse"),
Some("process_auth_grpc_response: received DeniedHttpResponse"),
)
.expect_send_local_response(
Some(401),
Expand Down
4 changes: 2 additions & 2 deletions tests/multi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ fn it_performs_authenticated_rate_limiting() {
.returning(Some(&grpc_response))
.expect_log(
Some(LogLevel::Debug),
Some("#2 process_auth_grpc_response: received OkHttpResponse"),
Some("process_auth_grpc_response: received OkHttpResponse"),
)
.expect_grpc_call(
Some("limitador-cluster"),
Expand Down Expand Up @@ -374,7 +374,7 @@ fn unauthenticated_does_not_ratelimit() {
.returning(Some(&grpc_response))
.expect_log(
Some(LogLevel::Debug),
Some("#2 process_auth_grpc_response: received DeniedHttpResponse"),
Some("process_auth_grpc_response: received DeniedHttpResponse"),
)
.expect_send_local_response(
Some(401),
Expand Down

0 comments on commit ccf0d7f

Please sign in to comment.