Add a stub test for Contributions.
This commit is contained in:
parent
ea7fe2650b
commit
24e0be8087
2 changed files with 33 additions and 0 deletions
|
|
@ -2,5 +2,6 @@ use FindBin;
|
||||||
use lib "$FindBin::Bin/lib";
|
use lib "$FindBin::Bin/lib";
|
||||||
use Test::WebGUI::Account;
|
use Test::WebGUI::Account;
|
||||||
use Test::WebGUI::Account::Friends;
|
use Test::WebGUI::Account::Friends;
|
||||||
|
use Test::WebGUI::Account::Contributions;
|
||||||
|
|
||||||
Test::Class->runtests;
|
Test::Class->runtests;
|
||||||
|
|
|
||||||
32
t/lib/Test/WebGUI/Account/Contributions.pm
Normal file
32
t/lib/Test/WebGUI/Account/Contributions.pm
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue