Taglib tests: Associations tag

This page tests that the Rivendell Association tag behaves as expected.

Results

Test Expected Actual Result
Test section has 5 associations in total 5 5 PASS
Test section has 2 'attach' type associations 2 2 PASS
Test section has 1 'checkbox' type association 1 1 PASS
Test section has no 'dummy' type associations 0 0 PASS
Test section has 1 association in the 'secondary' zone 1 1 PASS
Test section has 1 association in the 'secondary' zone of type 'select' 1 1 PASS
Test section has no associations in the 'secondary' zone of type 'checkbox' 0 0 PASS
Test section has no associations in the 'primary' zone 0 0 PASS
Section set to 'sub_section2' sub_section2 sub_section2 PASS
Name set to 'sub2' sub2 sub2 PASS
Min set to 1 1 1 PASS
Max set to 4 4 4 PASS
Section set to 'sub_section3' sub_section3 sub_section3 PASS
Name set to 'sub3' sub3 sub3 PASS
Widget set to 'list' list list PASS
Zone set to 'secondary' secondary secondary PASS
Filter set type = 'banner' type = 'banner' PASS
Section set to 'sub_section5' sub_section5 sub_section5 PASS
Name not set -empty- PASS
Min not set 0 PASS
Max not set -empty- PASS
Widget not set -empty- PASS
Zone not set -empty- PASS
Filter not set -empty- PASS
sub_section1 has 1 reverse association 1 1 PASS
Reverse section set to 'associations_section' associations_section associations_section PASS
Name set to 'sub3' sub3 sub3 PASS
Widget set to 'list' list list PASS
Zone set to 'secondary' secondary secondary PASS
Filter set type = 'banner' type = 'banner' PASS