debd04afc2c67a630c9db8edcca9520cdaaeb217
[Packages/TYPO3.CMS.git] / typo3 / sysext / extbase / Tests / Functional / Persistence / Fixtures / category-mm.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <dataset>
3 <!-- post 1 gets categories 1,2,3 -->
4 <sys_category_record_mm>
5 <uid_local>1</uid_local>
6 <uid_foreign>1</uid_foreign>
7 <tablenames>tx_blogexample_domain_model_post</tablenames>
8 <fieldname>categories</fieldname>
9 <sorting>1</sorting>
10 <sorting_foreign>2</sorting_foreign>
11 </sys_category_record_mm>
12 <sys_category_record_mm>
13 <uid_local>2</uid_local>
14 <uid_foreign>1</uid_foreign>
15 <tablenames>tx_blogexample_domain_model_post</tablenames>
16 <fieldname>categories</fieldname>
17 <sorting>1</sorting>
18 <sorting_foreign>2</sorting_foreign>
19 </sys_category_record_mm>
20 <sys_category_record_mm>
21 <uid_local>3</uid_local>
22 <uid_foreign>1</uid_foreign>
23 <tablenames>tx_blogexample_domain_model_post</tablenames>
24 <fieldname>categories</fieldname>
25 <sorting>1</sorting>
26 <sorting_foreign>2</sorting_foreign>
27 </sys_category_record_mm>
28
29 <!-- post 2 gets category 1 -->
30 <sys_category_record_mm>
31 <uid_local>1</uid_local>
32 <uid_foreign>2</uid_foreign>
33 <tablenames>tx_blogexample_domain_model_post</tablenames>
34 <fieldname>categories</fieldname>
35 <sorting>1</sorting>
36 <sorting_foreign>2</sorting_foreign>
37 </sys_category_record_mm>
38
39 <!-- some bogus records to test MM_match_fields -->
40 <sys_category_record_mm>
41 <uid_local>4</uid_local>
42 <uid_foreign>1</uid_foreign>
43 <tablenames>tx_my_extension</tablenames>
44 <fieldname>categories</fieldname>
45 <sorting>1</sorting>
46 <sorting_foreign>2</sorting_foreign>
47 </sys_category_record_mm>
48 </dataset>