Skip to content

Commit

Permalink
test ignored for build
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Jurk committed Oct 23, 2024
1 parent acb1694 commit 7eee90a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions central/src/auth/authentik/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ struct Token {
access_token: String,
}


#[ignore = "Requires setting up a authentik"]
#[tokio::test]
async fn get_access_test() {
let path_url = "http://localhost:9000/application/o/token/";
Expand Down Expand Up @@ -75,7 +77,7 @@ async fn setup_authentik() -> reqwest::Result<(String, AuthentikConfig)> {
))
}


#[ignore = "Requires setting up a authentik"]
#[tokio::test]
async fn test_create_client() -> reqwest::Result<()> {
let (token, conf) = setup_authentik().await?;
Expand All @@ -101,7 +103,7 @@ async fn test_create_client() -> reqwest::Result<()> {
Ok(())
}


#[ignore = "Requires setting up a authentik"]
#[tokio::test]
async fn group_test() -> reqwest::Result<()> {
let (token, conf) = setup_authentik().await?;
Expand All @@ -111,6 +113,7 @@ async fn group_test() -> reqwest::Result<()> {
Ok(())
}

#[ignore = "Requires setting up a authentik"]
#[tokio::test]
async fn test_flow_property() {
let (token, conf) = setup_authentik().await.expect("Cannot setup authentik as test");
Expand Down

0 comments on commit 7eee90a

Please sign in to comment.