mirror of
https://github.com/iflytek/skillhub.git
synced 2026-08-27 11:14:59 +00:00
test(auth): isolate profile provisioning database
Signed-off-by: XiaoSeS <87064762+XiaoSeS@users.noreply.github.com>
This commit is contained in:
parent
c359e8bf96
commit
96cf43f049
1 changed files with 4 additions and 1 deletions
|
|
@ -88,6 +88,9 @@ class IdentityProfileProvisioningPostgresIntegrationTest {
|
|||
registry.add(
|
||||
"spring.flyway.schemas",
|
||||
() -> SCHEMA);
|
||||
registry.add(
|
||||
"skillhub.builtin-skills.enabled",
|
||||
() -> "false");
|
||||
}
|
||||
|
||||
@BeforeEach
|
||||
|
|
@ -190,7 +193,7 @@ class IdentityProfileProvisioningPostgresIntegrationTest {
|
|||
userId)).isEqualTo(1L);
|
||||
assertThat(count(
|
||||
"SELECT COUNT(*) FROM user_profile_field_source WHERE user_id = ?",
|
||||
userId)).isEqualTo(3L);
|
||||
userId)).isEqualTo(2L);
|
||||
assertThat(count(
|
||||
"SELECT COUNT(*) FROM namespace_member WHERE user_id = ?",
|
||||
userId)).isZero();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue