Skip to content

Commit

Permalink
feat: Added to AbstractDocumentTest verification of originalValue in …
Browse files Browse the repository at this point in the history
…document (#3070)
  • Loading branch information
jasonjyu authored Nov 3, 2024
1 parent af0b901 commit 1575b56
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,16 @@ void shouldUpdateExistingValue() {
final String originalValue = "originalValue";
final String updatedValue = "updatedValue";

// Initializing the value
document.put(key, originalValue);

// Verifying that the initial value is retrieved correctly
assertEquals(originalValue, document.get(key));

// Updating the value
document.put(key, updatedValue);

//Verifying that the updated value is retrieved correctly
// Verifying that the updated value is retrieved correctly
assertEquals(updatedValue, document.get(key));
}
}

0 comments on commit 1575b56

Please sign in to comment.