Skip to content

Commit

Permalink
test für Client-Aufruf hinzugefügt
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonfly28 committed Nov 4, 2024
1 parent eefcc74 commit b6ce4f3
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ void should_notThrowExceptionAndSaveDataInRepo_when_modelIsGiven() {

Assertions.assertThatNoException().isThrownBy(() -> unitUnderTest.postWahlbeteiligung(waehleranzahlSetModel));

Mockito.verify(waehleranzahlClient).postWahlbeteiligung(waehleranzahlSetModel);
Mockito.verify(waehleranzahlRepository).save(mockedKonfigurationEntity);
}
}
Expand Down

0 comments on commit b6ce4f3

Please sign in to comment.