Run AccountIT#fetchUserBranch() in a sandbox

This tests modifies the permissions on the All-Users project but these
modifications should not apply for other tests.

Change-Id: Idb4cd71eabcc71974fb577f08bf1199e5ede7144
Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
Edwin Kempin
2017-04-13 10:38:03 +02:00
parent e419d9ad71
commit c3e0d83dab

View File

@@ -41,6 +41,7 @@ import com.google.common.io.BaseEncoding;
import com.google.gerrit.acceptance.AbstractDaemonTest;
import com.google.gerrit.acceptance.AccountCreator;
import com.google.gerrit.acceptance.PushOneCommit;
import com.google.gerrit.acceptance.Sandboxed;
import com.google.gerrit.acceptance.TestAccount;
import com.google.gerrit.acceptance.UseSsh;
import com.google.gerrit.common.data.Permission;
@@ -535,6 +536,7 @@ public class AccountIT extends AbstractDaemonTest {
}
@Test
@Sandboxed
public void fetchUserBranch() throws Exception {
// change something in the user preferences to ensure that the user branch
// is created