mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 19:07:30 +00:00
test(queries): policies prepare funcs (#2651)
* chore(queries): test suite for prepare stmt funcs * test(queries): prepare project funcs * refactor: add comments * test: simlify expected sql, added possibility to add args to expected queries * test(queries): prepare funcs in org * chore(backend): correct modules * test(queries): org domain prepare funcs * test: correct name * refactor: file name * refactor: add table to login policy columns * chore(prepare_test): only add row to result if columns * test(queries): login policy prepare funcs * chore: add comments for configs * test(queries): prepare idp funcs * fix(queries): add table to password complexity policy cols * test(queries): password complexity policy prepare funcs * fix(queries): add table to password age policy cols * test(queries): password age policy prepare func * fix(queries): set cols on lockout policy * test(queries): lockout policy prepare funs * fix(queries): set table on privacy policy cols * test(queries): privacy policy prepare funcs * fix(queries): set table on org iam policy cols * fix(queries): correct table in org iam policy cols * test(queries): org iam policy prepare funcs
This commit is contained in:
@@ -70,40 +70,52 @@ var (
|
||||
name: projection.PasswordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColID = Column{
|
||||
name: projection.ComplexityPolicyIDCol,
|
||||
name: projection.ComplexityPolicyIDCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColSequence = Column{
|
||||
name: projection.ComplexityPolicySequenceCol,
|
||||
name: projection.ComplexityPolicySequenceCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColCreationDate = Column{
|
||||
name: projection.ComplexityPolicyCreationDateCol,
|
||||
name: projection.ComplexityPolicyCreationDateCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColChangeDate = Column{
|
||||
name: projection.ComplexityPolicyChangeDateCol,
|
||||
name: projection.ComplexityPolicyChangeDateCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColResourceOwner = Column{
|
||||
name: projection.ComplexityPolicyResourceOwnerCol,
|
||||
name: projection.ComplexityPolicyResourceOwnerCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColMinLength = Column{
|
||||
name: projection.ComplexityPolicyMinLengthCol,
|
||||
name: projection.ComplexityPolicyMinLengthCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColHasLowercase = Column{
|
||||
name: projection.ComplexityPolicyHasLowercaseCol,
|
||||
name: projection.ComplexityPolicyHasLowercaseCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColHasUpperCase = Column{
|
||||
name: projection.ComplexityPolicyHasUppercaseCol,
|
||||
name: projection.ComplexityPolicyHasUppercaseCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColHasNumber = Column{
|
||||
name: projection.ComplexityPolicyHasNumberCol,
|
||||
name: projection.ComplexityPolicyHasNumberCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColHasSymbol = Column{
|
||||
name: projection.ComplexityPolicyHasSymbolCol,
|
||||
name: projection.ComplexityPolicyHasSymbolCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColIsDefault = Column{
|
||||
name: projection.ComplexityPolicyIsDefaultCol,
|
||||
name: projection.ComplexityPolicyIsDefaultCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
PasswordComplexityColState = Column{
|
||||
name: projection.ComplexityPolicyStateCol,
|
||||
name: projection.ComplexityPolicyStateCol,
|
||||
table: passwordComplexityTable,
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user