diff options
author | Duarte Meneses <duarte.meneses@sonarsource.com> | 2023-01-26 15:06:06 -0600 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2023-02-02 20:03:40 +0000 |
commit | 5efe3d77752f25e199d5f3c4417788f05e7832cb (patch) | |
tree | d9b21649c7531bfe6e96a309f0adfa1be84c8260 /server/sonar-webserver-auth | |
parent | 888b2dad0c98f714abc08a812129c58a90f10494 (diff) | |
download | sonarqube-5efe3d77752f25e199d5f3c4417788f05e7832cb.tar.gz sonarqube-5efe3d77752f25e199d5f3c4417788f05e7832cb.zip |
SONAR-17706 Remove root_uuid in Components and all its uses
Diffstat (limited to 'server/sonar-webserver-auth')
-rw-r--r-- | server/sonar-webserver-auth/src/test/java/org/sonar/server/user/ServerUserSessionTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-webserver-auth/src/test/java/org/sonar/server/user/ServerUserSessionTest.java b/server/sonar-webserver-auth/src/test/java/org/sonar/server/user/ServerUserSessionTest.java index 70e0e9e92aa..a5feb662795 100644 --- a/server/sonar-webserver-auth/src/test/java/org/sonar/server/user/ServerUserSessionTest.java +++ b/server/sonar-webserver-auth/src/test/java/org/sonar/server/user/ServerUserSessionTest.java @@ -302,7 +302,7 @@ public class ServerUserSessionTest { assertThat(session.hasChildProjectsPermission(USER, application)).isTrue(); // change privacy of the project without updating the cache - db.getDbClient().componentDao().setPrivateForRootComponentUuidWithoutAudit(db.getSession(), project.uuid(), true); + db.getDbClient().componentDao().setPrivateForBranchUuidWithoutAudit(db.getSession(), project.uuid(), true); assertThat(session.hasChildProjectsPermission(USER, application)).isTrue(); } @@ -387,7 +387,7 @@ public class ServerUserSessionTest { assertThat(session.hasChildProjectsPermission(USER, portfolio)).isTrue(); // change privacy of the project without updating the cache - db.getDbClient().componentDao().setPrivateForRootComponentUuidWithoutAudit(db.getSession(), project.uuid(), true); + db.getDbClient().componentDao().setPrivateForBranchUuidWithoutAudit(db.getSession(), project.uuid(), true); assertThat(session.hasChildProjectsPermission(USER, portfolio)).isTrue(); } |