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
|
@Test
|
||||||
void startAnonymousTransaction_thenReturnGitDBTransaction() throws IOException {
|
void startAnonymousTransaction_thenReturnGitDBTransaction() throws IOException {
|
||||||
//given
|
//given
|
||||||
final String key = stringSupplier.get();
|
final GitDBBranch gitDBBranch = gitDBBranch();
|
||||||
final String value = stringSupplier.get();
|
|
||||||
final GitDBBranch gitDBBranch = gitDBBranchWithKeyValue(key, value);
|
|
||||||
//when
|
//when
|
||||||
final GitDBTransaction transaction = gitDBBranch.transaction();
|
final GitDBTransaction transaction = gitDBBranch.transaction();
|
||||||
//then
|
//then
|
||||||
|
|
Loading…
Reference in a new issue