From 24e0be8087e4741e452a65ecb7ba4e3dda482d9e Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Thu, 26 Mar 2009 05:25:53 +0000 Subject: [PATCH] Add a stub test for Contributions. --- t/Account.t | 1 + t/lib/Test/WebGUI/Account/Contributions.pm | 32 ++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 t/lib/Test/WebGUI/Account/Contributions.pm diff --git a/t/Account.t b/t/Account.t index 8d95473d6..0ac99bc49 100644 --- a/t/Account.t +++ b/t/Account.t @@ -2,5 +2,6 @@ use FindBin; use lib "$FindBin::Bin/lib"; use Test::WebGUI::Account; use Test::WebGUI::Account::Friends; +use Test::WebGUI::Account::Contributions; Test::Class->runtests; diff --git a/t/lib/Test/WebGUI/Account/Contributions.pm b/t/lib/Test/WebGUI/Account/Contributions.pm new file mode 100644 index 000000000..c5a4af1df --- /dev/null +++ b/t/lib/Test/WebGUI/Account/Contributions.pm @@ -0,0 +1,32 @@ +# vim:syntax=perl +#------------------------------------------------------------------- +# WebGUI is Copyright 2001-2009 Plain Black Corporation. +#------------------------------------------------------------------- +# Please read the legal notices (docs/legal.txt) and the license +# (docs/license.txt) that came with this distribution before using +# this software. +#------------------------------------------------------------------ +# http://www.plainblack.com info@plainblack.com +#------------------------------------------------------------------ + +# This tests the operation of WebGUI::Account modules. You can use +# as a base to test your own modules. + +package Test::WebGUI::Account::Contributions; + +use FindBin; +use strict; +use lib "$FindBin::Bin/lib"; +use base 'Test::WebGUI::Account'; +use Test::More; +use Test::Exception; +use WebGUI::Test; # Must use this before any other WebGUI modules +use WebGUI::Session; + +sub class { + return 'WebGUI::Account::Contributions'; +} + +1; + +#vim:ft=perl