silverstripe-framework/tests/search/SearchFilterApplyRelationTest.yml
Normann Lou 869625dcc5 ENHANCEMENT: add more assertion in SearchFilterAapplyRelationTest to test more cases for many_many relation.
MINOR: fine tuning using DataObjectSet::column('ID') to get the object's ID, instead of DataObjectSet::First()->ID

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@84149 467b73ca-7a2a-4603-9d3b-597d59a354a9
2009-08-11 04:58:37 +00:00

29 lines
1.5 KiB
YAML

SearchFilterApplyRelationTest_HasOneGrantChild:
grant_child:
Title: I am has_one object
SearchFilterApplyRelationTest_HasManyGrantChild:
grant_child1:
Title: I am has_many object1
grant_child2:
Title: I am has_many object2
grant_child3:
Title: I am has_many object3
grant_child4:
Title: I am has_many object4
SearchFilterApplyRelationTest_ManyManyGrantChild:
grant_child1:
Title: I am many_many object1
grant_child2:
Title: I am many_many object2
SearchFilterApplyRelationTest_DO:
do1:
SearchFilterApplyRelationTest_HasOneGrantChild: =>SearchFilterApplyRelationTest_HasOneGrantChild.grant_child
SearchFilterApplyRelationTest_HasManyGrantChildren: =>SearchFilterApplyRelationTest_HasManyGrantChild.grant_child1,=>SearchFilterApplyRelationTest_HasManyGrantChild.grant_child2
ManyManyGrantChildren: =>SearchFilterApplyRelationTest_ManyManyGrantChild.grant_child1,=>SearchFilterApplyRelationTest_ManyManyGrantChild.grant_child2
do2:
SearchFilterApplyRelationTest_HasOneGrantChild: =>SearchFilterApplyRelationTest_HasOneGrantChild.grant_child
SearchFilterApplyRelationTest_HasManyGrantChildren: =>SearchFilterApplyRelationTest_HasManyGrantChild.grant_child3,=>SearchFilterApplyRelationTest_HasManyGrantChild.grant_child4
ManyManyGrantChildren: =>SearchFilterApplyRelationTest_ManyManyGrantChild.grant_child1, =>SearchFilterApplyRelationTest_ManyManyGrantChild.grant_child2