mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
try fix failing controller spec caused by long bios
This commit is contained in:
parent
46f83bb28b
commit
7dd4d9de96
@ -44,7 +44,8 @@ describe Api::V1::Accounts::CredentialsController do
|
||||
|
||||
describe 'with invalid data' do
|
||||
before do
|
||||
patch :update, params: { note: 'This is too long. ' * 10 }
|
||||
# note length limit is 501, presently hardcoded, so give it 510 to fail
|
||||
patch :update, params: { note: '1234567890' * 51 }
|
||||
end
|
||||
|
||||
it 'returns http unprocessable entity' do
|
||||
|
Loading…
Reference in New Issue
Block a user