完成单机TEST统一入口与可靠投递回归收尾
This commit is contained in:
+5
-9
@@ -69,16 +69,12 @@ class Phase5OverseasUpgradeSqlContractTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void overseasFixedAdminProjectionAssertionMatchesItsAuthorityArray() throws Exception {
|
||||
void unifiedSessionDoesNotInitializeASecondAuthorizationProjection() throws Exception {
|
||||
String overseas = repositoryFile("deploy/sql/海外区域统一增量-MySQL8.sql");
|
||||
int start = overseas.indexOf("VALUES ('AUTHORIZATION','1000001'");
|
||||
int end = overseas.indexOf(";", start);
|
||||
String authorityRow = overseas.substring(start, end);
|
||||
int authorityCount = count(authorityRow, "platform:");
|
||||
|
||||
assertThat(authorityCount).isPositive();
|
||||
assertThat(authorityRow).contains("baseline-platform-admin-authorization-v0");
|
||||
assertThat(overseas).doesNotContain("@platform_admin_overseas_authorities");
|
||||
assertThat(overseas).doesNotContain("CREATE TABLE ll_security_projection", "CREATE TABLE ll_security_event_inbox",
|
||||
"baseline-platform-admin-authorization-v0", "@platform_admin_overseas_authorities");
|
||||
String primary = repositoryFile("deploy/sql/头程数据库统一增量-MySQL8.sql");
|
||||
assertThat(primary).contains("CREATE TABLE iam_security_subject_version", "CREATE TABLE iam_security_tenant_version");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user