diff --git a/t/config/enable_content_log b/t/config/enable_content_log new file mode 100644 index 0000000..c508d53 --- /dev/null +++ b/t/config/enable_content_log @@ -0,0 +1 @@ +false diff --git a/t/config/plugins b/t/config/plugins index 48903ea..d2f9b25 100644 --- a/t/config/plugins +++ b/t/config/plugins @@ -13,6 +13,7 @@ # my $MAXCONNIP = 5; # max simultaneous connections from one IP # settings... without this it will NOT refuse more than $MAXCONNIP connections # from one IP! +content_log hosts_allow # information plugins diff --git a/t/plugin_tests/content_log b/t/plugin_tests/content_log new file mode 100644 index 0000000..7355815 --- /dev/null +++ b/t/plugin_tests/content_log @@ -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' ); +} +