summaryrefslogtreecommitdiffstats
path: root/debian/perl-framework/t/php/hello.t
blob: 028bd3f424943c8c1669752881bff524cc7731ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings FATAL => 'all';

use Apache::Test;
use Apache::TestRequest;

plan tests => 1, need_php;

## hello.php source:
## <?php echo "Hello World"?>
##
## result should be 'Hello World'

my $result = GET_BODY "/php/hello.php";
ok $result eq 'Hello World';