]> source.dussan.org Git - jgit.git/commitdiff
LocalDiskRefTreeDatabaseTest shall use MockSystemReader 72/147472/2
authorMatthias Sohn <matthias.sohn@sap.com>
Sat, 10 Aug 2019 21:45:43 +0000 (23:45 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Sat, 10 Aug 2019 22:06:03 +0000 (00:06 +0200)
It missed to call the setup() method of its super class which prepares
the MockSystemReader

Change-Id: I39858749f8d0115fc6ac7edc8847ffb2bbc85c33
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/internal/storage/reftree/LocalDiskRefTreeDatabaseTest.java

index d5a07e02faec372147af9d1e9f9657d1b4258273..cafec04f7c91398928bc96bc9cb302da669354a3 100644 (file)
@@ -80,6 +80,7 @@ public class LocalDiskRefTreeDatabaseTest extends LocalDiskRepositoryTestCase {
        @Override
        @Before
        public void setUp() throws Exception {
+               super.setUp();
                FileRepository init = createWorkRepository();
                FileBasedConfig cfg = init.getConfig();
                cfg.setInt("core", null, "repositoryformatversion", 1);