Modify views regression tests fixtures to not contain forward references
|Reported by:||ramiro||Owned by:||nobody|
|Has patch:||yes||Needs documentation:|
|Needs tests:||Patch needs improvement:|
The views regression tests can't be run under MySQL with InnoDB storage and other RDBMS like MS SQL Server suffering from the limitation of not being able to handle forward references in serialized data (see #3615). The attached patch to the fixtures simply moves the "Boris" Author object instance before the articles he authored without breaking anything else.
The proposed change is arguably brittle because nothing guarantees no newer forward references could be introduced with future test enhancements. But, meanwhile, it allows these, no DB related, tests to be exercised when running the suite against these DB backends.