Add the tax table.

Add the getItems method, for accessing the entire tax table.
This commit is contained in:
Colin Kuskie 2008-02-15 22:15:58 +00:00
parent f08f3a0ffe
commit 70b8331794
3 changed files with 46 additions and 2 deletions

View file

@ -27,7 +27,7 @@ my $session = WebGUI::Test->session;
#----------------------------------------------------------------------------
# Tests
my $tests = 3;
my $tests = 5;
plan tests => 1 + $tests;
#----------------------------------------------------------------------------
@ -47,6 +47,12 @@ isa_ok($taxer->session, 'WebGUI::Session', 'session method returns a session obj
is($session->getId, $taxer->session->getId, 'session method returns OUR session object');
my $taxIterator = $taxer->getItems;
isa_ok($taxIterator, 'WebGUI::SQL::ResultSet');
is($taxIterator->rows, 0, 'WebGUI ships with no predefined tax data');
}