mirror of
https://codeberg.org/PGPainless/sop-java.git
synced 2025-09-09 02:09:42 +02:00
Verification: Rename description to jsonOrDescription
This commit is contained in:
parent
5a7a8ae901
commit
bff4423f93
2 changed files with 9 additions and 4 deletions
|
@ -45,12 +45,12 @@ public final class VerificationAssert {
|
|||
}
|
||||
|
||||
public VerificationAssert hasDescription(String description) {
|
||||
assertEquals(description, verification.getDescription().get());
|
||||
assertEquals(description, verification.getJsonOrDescription().get());
|
||||
return this;
|
||||
}
|
||||
|
||||
public VerificationAssert hasDescriptionOrNull(String description) {
|
||||
if (verification.getDescription().isEmpty()) {
|
||||
if (verification.getJsonOrDescription().isEmpty()) {
|
||||
return this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue