mirror of
https://github.com/Universal-Omega/PortableInfobox.git
synced 2024-11-15 11:59:56 +00:00
DAT-2875 add duplicate source test
This commit is contained in:
parent
b9d4925f52
commit
864327b5f3
|
@ -107,7 +107,9 @@ class NodeComparisonTest extends WikiaBaseTest {
|
|||
public function sourceDataProvider() {
|
||||
return [
|
||||
[ '<comparison><set><data source="1"/><data source="2"/></set></comparison>', [ '1', '2' ] ],
|
||||
[ '<comparison><set><data/><data source="2"><default>{{{def}}}</default></data></set></comparison>', [ '2', 'def' ] ],
|
||||
[ '<comparison><set><data source="1"/><data source="1"/></set></comparison>', [ '1' ] ],
|
||||
[ '<comparison><set><data/><data source="2"><default>{{{def}}}</default></data></set></comparison>',
|
||||
[ '2', 'def' ] ],
|
||||
[ '<comparison><set><data/><data></data></set></comparison>', [ ] ],
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue