-
-
Notifications
You must be signed in to change notification settings - Fork 7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change bio limit from 160 to 500 #10790
Conversation
Looks like CI is failing because some of the tests expect longer than 160 to fail, but now they succeed -- not entirely sure how to fix that in CI. |
You need to adjust tests in:
|
looks like just the account_spec needed to be updated from 161 to 501. the api one just asserts that an unprocessable status returns an error instead of 200 ok. i'll wait for ci to recheck but hopefully that should do it |
No, sorry, it still needs an adjustment in the other file. |
I'm not sure how to fix the other file. Maybe it's a Ruby syntax thing I'm not understanding, but it looks logically correct to me. CI gives this:
Context around
What should it be changed to? It seems to me like it's describing a test case that returns "unprocessable" and expecting it to have the "unprocessable" status code. |
The test case was expecting an error, but it is getting success instead, because of the raised limit. |
Ahh, OK. I had no idea what exactly the *10 was doing, especially since the other test used a much less ambiguous |
OK, looks like it passes all tests now! |
* Change note_length validator from 160 to 500 * Change input maxlength from 160 to 500 * update bio test from 160 to 500 * Multiply a string 30 times instead of 10
* Change note_length validator from 160 to 500 * Change input maxlength from 160 to 500 * update bio test from 160 to 500 * Multiply a string 30 times instead of 10
* Change note_length validator from 160 to 500 * Change input maxlength from 160 to 500 * update bio test from 160 to 500 * Multiply a string 30 times instead of 10
* Change note_length validator from 160 to 500 * Change input maxlength from 160 to 500 * update bio test from 160 to 500 * Multiply a string 30 times instead of 10
Fix #10628
Just following #10628 (comment)