Opened 16 years ago
Closed 16 years ago
#8366 closed (fixed)
Modify views regression tests fixtures to not contain forward references
Reported by: | Ramiro Morales | Owned by: | nobody |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Unreviewed | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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.
Attachments (1)
Change History (2)
by , 16 years ago
Attachment: | views_tests_fixtures.diff added |
---|
comment:1 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [8465]) Fixed #8366: Modified a test fixture to remove an unnecessary forward reference. Thanks to Ramiro Morales for the suggestion.