RED-6034 - Possible to assign a file to unauthorized users
- update junit test
This commit is contained in:
parent
d09da8ea78
commit
113947d216
@ -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);
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user