feature/use-case-acceptance-tests-3 #119

Merged
hsh-michaelhoennig merged 4 commits from feature/use-case-acceptance-tests-3 into master 2024-11-07 10:11:53 +01:00
Showing only changes of commit 82f0e9f4b9 - Show all commits

View File

@ -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}"),