Bump max sticker count to 201
This commit is contained in:
parent
c8979940a8
commit
886db1a2c3
|
@ -41,7 +41,7 @@ public class StickerController {
|
|||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@Path("/pack/form/{count}")
|
||||
public StickerPackFormUploadAttributes getStickersForm(@Auth Account account,
|
||||
@PathParam("count") @Min(1) @Max(50) int stickerCount)
|
||||
@PathParam("count") @Min(1) @Max(201) int stickerCount)
|
||||
throws RateLimitExceededException
|
||||
{
|
||||
rateLimiters.getStickerPackLimiter().validate(account.getNumber());
|
||||
|
|
|
@ -84,7 +84,7 @@ public class StickerControllerTest {
|
|||
@Test
|
||||
public void testCreateTooLargePack() throws Exception {
|
||||
Response response = resources.getJerseyTest()
|
||||
.target("/v1/sticker/pack/form/51")
|
||||
.target("/v1/sticker/pack/form/202")
|
||||
.request()
|
||||
.header("Authorization", AuthHelper.getAuthHeader(AuthHelper.VALID_NUMBER, AuthHelper.VALID_PASSWORD))
|
||||
.get();
|
||||
|
|
Loading…
Reference in New Issue