feature/use-case-acceptance-tests-3 #119
@ -37,7 +37,7 @@ public class CancelMembership extends UseCase<CancelMembership> {
|
||||
@Override
|
||||
protected void verify(final UseCase<CancelMembership>.HttpResponse response) {
|
||||
verify(
|
||||
"Verify That the Membership Got Created",
|
||||
"Verify That the Membership Got Cancelled",
|
||||
() -> httpGet("/api/hs/office/memberships/%{Membership: %{memberNumber}}")
|
||||
.expecting(OK).expecting(JSON),
|
||||
path("validTo").contains("%{validTo}"),
|
||||
|
Loading…
Reference in New Issue
Block a user