Skip to content

Commit 7ed684b

Browse files
test(oidc-auth): run the suite through testkit's harness for the skip list
Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
1 parent 486b806 commit 7ed684b

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎tests/suites/features/oidc-auth/Cargo.toml‎

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ version = "0.0.0"
88
edition = "2024"
99
rust-version = "1.94"
1010
license = "Apache-2.0"
11-
repository = "https://github.com/NVIDIA/OpenShell"
11+
repository = "https://github.com/ai-openshell/openshell"
1212
publish = false
1313

14+
[[test]]
15+
name = "oidc-auth"
16+
path = "tests/oidc_auth.rs"
17+
harness = false
18+
1419
[dependencies]
1520
keycloak-support = { path = "../../../support/keycloak" }
1621
openshell-testkit = { path = "../../../testkit/testkit" }

‎tests/suites/features/oidc-auth/tests/oidc_auth.rs‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ use testkit::{
2121
};
2222
use url::Url;
2323

24+
fn main() -> std::process::ExitCode {
25+
testkit::main()
26+
}
27+
2428
const ADMIN_ROLE_REQUIRED: &str = "role 'openshell-admin' required";
2529
const ONLY_PLATFORM_ADMINS: &str = "only platform admins can assign the workspace admin role";
2630
/// The provider credential the test profile defines.

0 commit comments

Comments
 (0)