X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=blobdiff_plain;f=t%2FZOOM-IRSpy.t;h=0da4aa0fae3f848cfc552919837fd94b499514df;hp=2ed94b32fc9242681f699e984dd2c7f4480ac0ad;hb=86d95ec7710cd0ca831c8e0385102b99a6bc6f73;hpb=725e384693a233852f3c3976d26e0c1f1a43f788 diff --git a/t/ZOOM-IRSpy.t b/t/ZOOM-IRSpy.t index 2ed94b3..0da4aa0 100644 --- a/t/ZOOM-IRSpy.t +++ b/t/ZOOM-IRSpy.t @@ -17,7 +17,7 @@ my $irspy_to_zeerex_xsl = 'xsl/irspy2zeerex.xsl'; $ZOOM::IRSpy::irspy_to_zeerex_xsl = $irspy_to_zeerex_xsl if $irspy_to_zeerex_xsl; -my $dbname = 'localhost:8018/IR-Explain---1'; +my $dbname = ZOOM::IRSpy::connect_to_registry(); my $spy = new ZOOM::IRSpy( $dbname, "admin", "fruitbat" ); isa_ok( $spy, 'ZOOM::IRSpy' ); @@ -25,6 +25,8 @@ isa_ok( $spy, 'ZOOM::IRSpy' ); # test for failure if template not exists eval { $ZOOM::IRSpy::irspy_to_zeerex_xsl = '/nonexist'; + $ZOOM::IRSpy::debug = 1; + $ZOOM::IRSpy::xslt_max_depth = 100; $spy = new ZOOM::IRSpy( $dbname, "admin", "fruitbat" ); };