Multi-tenancy acceptance tests 1 to 14, and test 15 against a copy of INBUXA's data (MT-1 to MT-23)
tests/src/system/tenant.rs is new, and system_tests calls it again without the pending-rebuild gate. tenant_tests runs it alone; tenant_compat is test 15, ignored until a copy of INBUXA's data is provided.
This commit is contained in:
@@ -15,6 +15,7 @@ pub mod purge;
|
|||||||
pub mod quota;
|
pub mod quota;
|
||||||
pub mod security;
|
pub mod security;
|
||||||
pub mod task;
|
pub mod task;
|
||||||
|
pub mod tenant;
|
||||||
|
|
||||||
use crate::utils::server::TestServerBuilder;
|
use crate::utils::server::TestServerBuilder;
|
||||||
use registry::schema::structs::{Expression, Imap, MtaStageAuth};
|
use registry::schema::structs::{Expression, Imap, MtaStageAuth};
|
||||||
@@ -60,7 +61,6 @@ pub async fn system_tests() {
|
|||||||
authentication::test(&test).await;
|
authentication::test(&test).await;
|
||||||
oidc::test(&mut test).await;
|
oidc::test(&mut test).await;
|
||||||
authorization::test(&mut test).await;
|
authorization::test(&mut test).await;
|
||||||
#[cfg(feature = "pending-rebuild")] // inbuxa: pending-rebuild, see docs/spec/features/multi-tenancy.md
|
|
||||||
tenant::test(&mut test).await;
|
tenant::test(&mut test).await;
|
||||||
security::test(&mut test).await;
|
security::test(&mut test).await;
|
||||||
quota::test(&mut test).await;
|
quota::test(&mut test).await;
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user