From 48540bbefb861cebda02a40c3906e8eeaf449304 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Thu, 16 May 2024 17:09:45 -0400 Subject: [PATCH] chore: fix test inversion --- tests/functional/multitenant/apns.rs | 2 +- tests/functional/multitenant/fcm.rs | 2 +- tests/functional/multitenant/fcm_v1.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/functional/multitenant/apns.rs b/tests/functional/multitenant/apns.rs index 1368b13a..d8672104 100644 --- a/tests/functional/multitenant/apns.rs +++ b/tests/functional/multitenant/apns.rs @@ -207,7 +207,7 @@ async fn tenant_delete(ctx: &mut EchoServerContext) { assert!(response.status().is_success()); let response = response.json::().await.unwrap(); println!("response: {response:?}"); - assert!(response + assert!(!response .enabled_providers .contains(&PROVIDER_APNS.to_owned())); } diff --git a/tests/functional/multitenant/fcm.rs b/tests/functional/multitenant/fcm.rs index 29ea9c01..21becda7 100644 --- a/tests/functional/multitenant/fcm.rs +++ b/tests/functional/multitenant/fcm.rs @@ -142,7 +142,7 @@ async fn tenant_delete(ctx: &mut EchoServerContext) { assert!(response.status().is_success()); let response = response.json::().await.unwrap(); println!("response: {response:?}"); - assert!(response + assert!(!response .enabled_providers .contains(&PROVIDER_FCM.to_owned())); diff --git a/tests/functional/multitenant/fcm_v1.rs b/tests/functional/multitenant/fcm_v1.rs index 7601a161..50124fed 100644 --- a/tests/functional/multitenant/fcm_v1.rs +++ b/tests/functional/multitenant/fcm_v1.rs @@ -173,7 +173,7 @@ async fn tenant_delete(ctx: &mut EchoServerContext) { assert!(response.status().is_success()); let response = response.json::().await.unwrap(); println!("response: {response:?}"); - assert!(response + assert!(!response .enabled_providers .contains(&PROVIDER_FCM_V1.to_owned())); }