X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=xt%2Ftt_valid.t;h=f71085eea13c8476af659c27f559ca9f892bf920;hb=HEAD;hp=97725ee37046f6e6afccef8921327862f9e491ab;hpb=8c687edb664387b04edd30ee9a472353aabb3d6b;p=koha.git diff --git a/xt/tt_valid.t b/xt/tt_valid.t index 97725ee370..f71085eea1 100755 --- a/xt/tt_valid.t +++ b/xt/tt_valid.t @@ -57,7 +57,8 @@ ok( !@files_with_directive_in_tag, "TT syntax: not using TT directive within HTM ); my $testtoken = 0; -C4::TTParser::unshift_token($testtoken); +my $ttparser = C4::TTParser->new(); +$ttparser->unshift_token($testtoken); my $testtokenagain = C4::TTParser::next_token(); is( $testtoken, $testtokenagain, "Token received same as original put on stack");