Remove assertions that belong in other tests
This commit is contained in:
parent
02b5ba34bc
commit
b816f235af
1 changed files with 1 additions and 4 deletions
|
@ -213,7 +213,7 @@ class GitDBTest implements WithAssertions {
|
||||||
|
|
||||||
// When putting a key/value pair then a GitDbBranch is returned
|
// When putting a key/value pair then a GitDbBranch is returned
|
||||||
@Test
|
@Test
|
||||||
void putValue_thenReturnUpdatedGitDBBranch() throws IOException, ClassNotFoundException {
|
void putValue_thenReturnUpdatedGitDBBranch() throws IOException {
|
||||||
//given
|
//given
|
||||||
final GitDBBranch originalBranch = gitDBBranch();
|
final GitDBBranch originalBranch = gitDBBranch();
|
||||||
//when
|
//when
|
||||||
|
@ -221,9 +221,6 @@ class GitDBTest implements WithAssertions {
|
||||||
//then
|
//then
|
||||||
assertThat(updatedBranch).isNotNull();
|
assertThat(updatedBranch).isNotNull();
|
||||||
assertThat(updatedBranch).isNotSameAs(originalBranch);
|
assertThat(updatedBranch).isNotSameAs(originalBranch);
|
||||||
final Optional<String> optional = updatedBranch.get("key-name");
|
|
||||||
assertThat(optional).contains("value");
|
|
||||||
//assertThat(originalBranch.get("key", String.class)).isEmpty();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// When getting a key that does exist then the value is returned inside an Optional
|
// When getting a key that does exist then the value is returned inside an Optional
|
||||||
|
|
Loading…
Reference in a new issue