# Force the test runner to ensure the extension is loaded
!! hooks
ref
references
categorytree
!! endhooks

!! test 
Bug 20748 - <references /> doesn't work after category tree in some cases
!! input
<ref>ref</ref>

<categorytree showcount=on>Articles tagged for deletion and rescue</categorytree>
<references />
!! result

[1]

[×]  Articles tagged for deletion and rescue‎ (empty)
		
no subcategories

- ↑ ref

!! end

