summaryrefslogtreecommitdiff
path: root/tests/fixtures_regress/fixtures
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2014-05-12 13:46:47 -0300
committerRamiro Morales <cramm0@gmail.com>2014-05-17 17:36:45 -0300
commit862e1ff2340a1e28a3e7c6904d2b0283085f34c8 (patch)
tree4b575b6eb0fc68426efd754c1585c805c777ff62 /tests/fixtures_regress/fixtures
parente520a73eeea6b185b719901ab9985ecef00e5664 (diff)
Fixed #22421 -- Regression in fixtures loading.
Loading fixtures were failing since the refactoring in 244e2b71f5 for inheritance setups where the chain contains abstract models and the root ancestor contains a M2M relation. Thanks Stanislas Guerra for the report. Refs #20946.
Diffstat (limited to 'tests/fixtures_regress/fixtures')
-rw-r--r--tests/fixtures_regress/fixtures/feature.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/fixtures_regress/fixtures/feature.json b/tests/fixtures_regress/fixtures/feature.json
new file mode 100644
index 0000000000..84aa2adcf4
--- /dev/null
+++ b/tests/fixtures_regress/fixtures/feature.json
@@ -0,0 +1,17 @@
+[
+{
+ "fields": {
+ "channels": [],
+ "title": "Title of this feature article"
+ },
+ "model": "fixtures_regress.article",
+ "pk": 1
+},
+{
+ "fields": {
+ "channels": []
+ },
+ "model": "fixtures_regress.feature",
+ "pk": 1
+}
+]