ForcePushIT#deleteAllowedWithDeletePermission: Fix permission setting
This test was added on stable-2.14 with change I4861871a3, but was broken during the merge to stable-2.15 with change Ic13c689e2, most likely due to a copy paste mistake while adapting the code to the changed signature of the grant method done in change I9070d23b2. Change-Id: Iac628cc93c3c2b2efe3c53e4eaf802870a3daa8f
This commit is contained in:
@@ -94,7 +94,7 @@ public class ForcePushIT extends AbstractDaemonTest {
|
||||
|
||||
@Test
|
||||
public void deleteAllowedWithDeletePermission() throws Exception {
|
||||
grant(project, "refs/*", Permission.PUSH, true);
|
||||
grant(project, "refs/*", Permission.DELETE, true);
|
||||
assertDeleteRef(OK);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user