diff --git a/t/Session/CheckClient.t b/t/Session/CheckClient.t index e75598a97..6071bbabc 100644 --- a/t/Session/CheckClient.t +++ b/t/Session/CheckClient.t @@ -192,8 +192,8 @@ plan tests => testCount() ; my $output; foreach my $testSet (@testArray) { - $output = new FAKE_ENV( $testSet->{agent}, - $testSet->{address} || '69.42.78.32') + $output = FAKE_ENV->new( $testSet->{agent}, + $testSet->{address} || '69.42.78.32') ->requestNotViewed(); is($output, $testSet->{output}, $testSet->{comment}); }