feature/use-case-acceptance-tests-3 #119
@ -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