From dc932d8b1ded2916098df9a44cf5dc71f24fd0f7 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Fri, 15 Jun 2018 17:54:47 +0100 Subject: [PATCH] Simplify a test --- src/test/java/net/kemitix/gitdb/test/GitDBTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/net/kemitix/gitdb/test/GitDBTest.java b/src/test/java/net/kemitix/gitdb/test/GitDBTest.java index 616a7a2..4eeccb6 100644 --- a/src/test/java/net/kemitix/gitdb/test/GitDBTest.java +++ b/src/test/java/net/kemitix/gitdb/test/GitDBTest.java @@ -331,9 +331,7 @@ class GitDBTest implements WithAssertions { @Test void startAnonymousTransaction_thenReturnGitDBTransaction() throws IOException { //given - final String key = stringSupplier.get(); - final String value = stringSupplier.get(); - final GitDBBranch gitDBBranch = gitDBBranchWithKeyValue(key, value); + final GitDBBranch gitDBBranch = gitDBBranch(); //when final GitDBTransaction transaction = gitDBBranch.transaction(); //then