tests: get status code from err

This commit is contained in:
realaravinth
2021-07-17 18:57:33 +05:30
parent c3e43ff584
commit 1b0a95e768
5 changed files with 6 additions and 16 deletions

View File

@@ -340,7 +340,6 @@ mod tests {
ROUTES.mcaptcha.delete,
&delete_payload,
ServiceError::WrongPassword,
StatusCode::UNAUTHORIZED,
)
.await;