From fae17ed5902ba183a713e3a26f6d463cb1d69583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Renault?= Date: Thu, 27 Oct 2022 10:58:06 +0200 Subject: [PATCH] Enable the authentication tests on Windows again --- meilisearch-http/tests/auth/authorization.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/meilisearch-http/tests/auth/authorization.rs b/meilisearch-http/tests/auth/authorization.rs index c7fb72132..fae6ee7e1 100644 --- a/meilisearch-http/tests/auth/authorization.rs +++ b/meilisearch-http/tests/auth/authorization.rs @@ -78,7 +78,6 @@ static INVALID_RESPONSE: Lazy = Lazy::new(|| { }); #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn error_access_expired_key() { use std::{thread, time}; @@ -110,7 +109,6 @@ async fn error_access_expired_key() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn error_access_unauthorized_index() { let mut server = Server::new_auth().await; server.use_api_key("MASTER_KEY"); @@ -141,7 +139,6 @@ async fn error_access_unauthorized_index() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn error_access_unauthorized_action() { let mut server = Server::new_auth().await; @@ -169,7 +166,6 @@ async fn error_access_unauthorized_action() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn access_authorized_master_key() { let mut server = Server::new_auth().await; server.use_api_key("MASTER_KEY"); @@ -184,7 +180,6 @@ async fn access_authorized_master_key() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn access_authorized_restricted_index() { let mut server = Server::new_auth().await; for ((method, route), actions) in AUTHORIZATIONS.iter() { @@ -221,7 +216,6 @@ async fn access_authorized_restricted_index() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn access_authorized_no_index_restriction() { let mut server = Server::new_auth().await; @@ -259,7 +253,6 @@ async fn access_authorized_no_index_restriction() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn access_authorized_stats_restricted_index() { let mut server = Server::new_auth().await; server.use_admin_key("MASTER_KEY").await; @@ -300,7 +293,6 @@ async fn access_authorized_stats_restricted_index() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn access_authorized_stats_no_index_restriction() { let mut server = Server::new_auth().await; server.use_admin_key("MASTER_KEY").await; @@ -341,7 +333,6 @@ async fn access_authorized_stats_no_index_restriction() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn list_authorized_indexes_restricted_index() { let mut server = Server::new_auth().await; server.use_admin_key("MASTER_KEY").await; @@ -383,7 +374,6 @@ async fn list_authorized_indexes_restricted_index() { } #[actix_rt::test] -#[cfg_attr(target_os = "windows", ignore)] async fn list_authorized_indexes_no_index_restriction() { let mut server = Server::new_auth().await; server.use_admin_key("MASTER_KEY").await;