fix tests

This commit is contained in:
Ruben Fiszel
2024-06-18 22:57:51 +02:00
parent f3e8a81923
commit 9c152d96c9
2 changed files with 10 additions and 7 deletions
-7
View File
@@ -14,10 +14,3 @@ pub async fn verify_license_key() -> Result<()> {
"License always invalid in Windmill CE".to_string(),
))
}
#[cfg(feature = "enterprise")]
pub async fn jwt_ext_auth(_w_id: Option<&String>, _token: &str) -> Option<(ApiAuthed, usize)> {
// Implementation is not open source
None
}
+10
View File
@@ -4,3 +4,13 @@ pub async fn validate_license_key(_license_key: String) -> anyhow::Result<String
// Implementation is not open source
Err(anyhow!("License can't be validated in Windmill CE"))
}
#[cfg(feature = "enterprise")]
pub async fn jwt_ext_auth(
_w_id: Option<&String>,
_token: &str,
) -> Option<(crate::db::ApiAuthed, usize)> {
// Implementation is not open source
None
}