fix verify title in CancelMembership
This commit is contained in:
parent
2a2b706e6d
commit
82f0e9f4b9
@ -37,7 +37,7 @@ public class CancelMembership extends UseCase<CancelMembership> {
|
|||||||
@Override
|
@Override
|
||||||
protected void verify(final UseCase<CancelMembership>.HttpResponse response) {
|
protected void verify(final UseCase<CancelMembership>.HttpResponse response) {
|
||||||
verify(
|
verify(
|
||||||
"Verify That the Membership Got Created",
|
"Verify That the Membership Got Cancelled",
|
||||||
() -> httpGet("/api/hs/office/memberships/%{Membership: %{memberNumber}}")
|
() -> httpGet("/api/hs/office/memberships/%{Membership: %{memberNumber}}")
|
||||||
.expecting(OK).expecting(JSON),
|
.expecting(OK).expecting(JSON),
|
||||||
path("validTo").contains("%{validTo}"),
|
path("validTo").contains("%{validTo}"),
|
||||||
|
Loading…
Reference in New Issue
Block a user