tst_QSvgHandler: Create an actual QSvgDocument in the handler


During the test, QSvgHandler::document() may be called which then must
point to a document.

Pick-to: 6.12
Change-Id: I5ce91ccbf59e1ead786e4fdd8c98fbd8ffbd3c4f
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
commit6e90227ce1b40645310b7360d392866b340cc5cd
parent3bc0ede4a657bb84fef367b079c5424ec6f6820a
authorRobert Löhning <robert.loehning@qt.io>
committerRobert Löhning <robert.loehning@qt.io>
commit timeThu, 18 Jun 2026 10:49:13 +0000