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:
Dave Borowitz
2015-03-18 07:45:40 -07:00
parent d901bee35a
commit 3e027d60b8
13 changed files with 64 additions and 47 deletions

View File

@@ -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