Skip to content

Commit f81e26f

Browse files
committed
test(server): fix auth endpoint RPC stub lint
1 parent 3e6d765 commit f81e26f

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

crates/openshell-server/tests/auth_endpoint_integration.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -782,17 +782,15 @@ impl openshell_core::proto::open_shell_server::OpenShell for TestOpenShell {
782782
async fn issue_sandbox_token(
783783
&self,
784784
_request: tonic::Request<openshell_core::proto::IssueSandboxTokenRequest>,
785-
) -> Result<tonic::Response<openshell_core::proto::IssueSandboxTokenResponse>, tonic::Status>
786-
{
787-
Err(tonic::Status::unimplemented("not implemented in test"))
785+
) -> Result<Response<openshell_core::proto::IssueSandboxTokenResponse>, Status> {
786+
Err(Status::unimplemented("not implemented in test"))
788787
}
789788

790789
async fn refresh_sandbox_token(
791790
&self,
792791
_request: tonic::Request<openshell_core::proto::RefreshSandboxTokenRequest>,
793-
) -> Result<tonic::Response<openshell_core::proto::RefreshSandboxTokenResponse>, tonic::Status>
794-
{
795-
Err(tonic::Status::unimplemented("not implemented in test"))
792+
) -> Result<Response<openshell_core::proto::RefreshSandboxTokenResponse>, Status> {
793+
Err(Status::unimplemented("not implemented in test"))
796794
}
797795

798796
async fn connect_supervisor(

0 commit comments

Comments
 (0)