X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=t%2FOutput_JSONStream.t;h=bf7b1842c199ab240240455f153634cbe6ba5f2d;hb=21e4995a3163de70a4744f47f015c98614ed03f9;hp=13702a65f6ecfcdaa3b0dfa641c2664499221080;hpb=732ad864f66b2cc729e6fb6bdba8611e4f40fbd9;p=koha-ffzg.git diff --git a/t/Output_JSONStream.t b/t/Output_JSONStream.t index 13702a65f6..bf7b1842c1 100755 --- a/t/Output_JSONStream.t +++ b/t/Output_JSONStream.t @@ -12,7 +12,7 @@ BEGIN { use_ok('C4::Output::JSONStream'); } -my $json = new C4::Output::JSONStream; +my $json = C4::Output::JSONStream->new; is($json->output,'{}',"Making sure JSON output is blank just after its created."); $json->param( issues => [ 'yes!', 'please', 'no' ] ); is($json->output,'{"issues":["yes!","please","no"]}',"Making sure JSON output has added what we told it to.");