Add some basic testing for content_log
This commit is contained in:
parent
deb0fbba69
commit
ae887c156b
1
t/config/enable_content_log
Normal file
1
t/config/enable_content_log
Normal file
@ -0,0 +1 @@
|
|||||||
|
false
|
@ -13,6 +13,7 @@
|
|||||||
# my $MAXCONNIP = 5; # max simultaneous connections from one IP
|
# my $MAXCONNIP = 5; # max simultaneous connections from one IP
|
||||||
# settings... without this it will NOT refuse more than $MAXCONNIP connections
|
# settings... without this it will NOT refuse more than $MAXCONNIP connections
|
||||||
# from one IP!
|
# from one IP!
|
||||||
|
content_log
|
||||||
hosts_allow
|
hosts_allow
|
||||||
|
|
||||||
# information plugins
|
# information plugins
|
||||||
|
16
t/plugin_tests/content_log
Normal file
16
t/plugin_tests/content_log
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!perl -w
|
||||||
|
|
||||||
|
use strict;
|
||||||
|
use warnings;
|
||||||
|
|
||||||
|
sub register_tests {
|
||||||
|
my ( $self ) = @_;
|
||||||
|
|
||||||
|
$self->register_test('test_content_log_file');
|
||||||
|
}
|
||||||
|
|
||||||
|
sub test_content_log_file {
|
||||||
|
my ( $self ) = @_;
|
||||||
|
ok( $self->content_log_file, 'content_log_file() returns something' );
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user