Simplify a test
This commit is contained in:
parent
55bf71eb69
commit
dc932d8b1d
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue