Use InMemoryRepository in acceptance tests
We can no longer use CloneCommand, which always produces an on-disk repository. Instead "clone" by setting up a remote and checking out a detached head. Change-Id: I94bc3d9b231526bb5740c530702f5c918c61cc03
This commit is contained in:
@@ -68,7 +68,7 @@ public abstract class AbstractPushForReview extends AbstractDaemonTest {
|
||||
default:
|
||||
throw new IllegalArgumentException("unexpected protocol: " + p);
|
||||
}
|
||||
setRepo(cloneProject(url + "/" + project.get()));
|
||||
setRepo(cloneProject(project, url + "/" + project.get()));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Reference in New Issue
Block a user