Note where additional tests need to be written for Shop/{Tax,Transaction}.

This commit is contained in:
Colin Kuskie 2008-03-19 19:04:49 +00:00
parent cb1b91d3be
commit 76811ec791
2 changed files with 18 additions and 2 deletions

View file

@ -36,7 +36,7 @@ my $session = WebGUI::Test->session;
my $addExceptions = getAddExceptions($session);
my $tests = 75 + 2*scalar(@{$addExceptions});
my $tests = 79 + 2*scalar(@{$addExceptions});
plan tests => 1 + $tests;
#----------------------------------------------------------------------------
@ -629,6 +629,14 @@ cmp_deeply(
'Check major elements of tax JSON',
);
TODO: {
local $TODO = 'More getTaxesAsJson tests';
ok(0, 'test group privileges to this method');
ok(0, 'test startIndex variable');
ok(0, 'test results form variable');
ok(0, 'test keywords');
}
$taxableDonation->purge;
$taxFreeDonation->purge;
$cart->delete;

View file

@ -30,7 +30,7 @@ my $session = WebGUI::Test->session;
#----------------------------------------------------------------------------
# Tests
plan tests => 66; # Increment this number for each test you create
plan tests => 70; # Increment this number for each test you create
#----------------------------------------------------------------------------
# put your tests here
@ -225,6 +225,14 @@ cmp_deeply(
'Check major elements of transaction JSON',
);
TODO: {
local $TODO = 'More getTaxesAsJson tests';
ok(0, 'test group privileges to this method');
ok(0, 'test startIndex variable');
ok(0, 'test results form variable');
ok(0, 'test keywords');
}
$transaction->delete;
is($session->db->quickScalar("select transactionId from transaction where transactionId=?",[$transaction->getId]), undef, "can delete transactions");