diff options
author | Viktor Vorona <viktor.vorona@sonarsource.com> | 2024-08-22 17:05:34 +0200 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-08-26 20:03:08 +0000 |
commit | 5affe7f65f2d4d0e92864ae685299c70cec1a1d2 (patch) | |
tree | bebba43687c5cb178ac0fa164ee313e9ad929319 /sonar-ws | |
parent | 6947be9b109ce78551a168c150977c3d3cdbf0be (diff) | |
download | sonarqube-5affe7f65f2d4d0e92864ae685299c70cec1a1d2.tar.gz sonarqube-5affe7f65f2d4d0e92864ae685299c70cec1a1d2.zip |
SONAR-22728 Fix BBT tests + bugs related to that
Diffstat (limited to 'sonar-ws')
-rw-r--r-- | sonar-ws/src/testFixtures/java/org/sonarqube/ws/tester/UserTester.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sonar-ws/src/testFixtures/java/org/sonarqube/ws/tester/UserTester.java b/sonar-ws/src/testFixtures/java/org/sonarqube/ws/tester/UserTester.java index a376b110811..350cb661a1a 100644 --- a/sonar-ws/src/testFixtures/java/org/sonarqube/ws/tester/UserTester.java +++ b/sonar-ws/src/testFixtures/java/org/sonarqube/ws/tester/UserTester.java @@ -122,6 +122,10 @@ public class UserTester { new org.sonarqube.ws.client.permissions.AddUserRequest() .setLogin(u.getLogin()) .setPermission("portfoliocreator")); + session.wsClient().permissions().addUser( + new org.sonarqube.ws.client.permissions.AddUserRequest() + .setLogin(u.getLogin()) + .setPermission("admin")); return u; } |