RED-6034 - Possible to assign a file to unauthorized users

- update junit test
This commit is contained in:
devplant 2023-05-04 10:29:15 +03:00
parent d09da8ea78
commit 113947d216

View File

@ -548,7 +548,7 @@ public class FileTest extends AbstractPersistenceServerServiceTest {
assertThat(actualMessage).contains(expectedMessage);
exception = Assertions.assertThrows(FeignException.Forbidden.class, () -> {
exception = Assertions.assertThrows(FeignException.BadRequest.class, () -> {
fileClient.setStatusUnderReview(dossier.getId(), file.getId(), user2);
});