From 76811ec791afbb3ffc0f2558a85de7c1927e37e0 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 19 Mar 2008 19:04:49 +0000 Subject: [PATCH] Note where additional tests need to be written for Shop/{Tax,Transaction}. --- t/Shop/Tax.t | 10 +++++++++- t/Shop/Transaction.t | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/t/Shop/Tax.t b/t/Shop/Tax.t index b0441a02f..9b576f6b4 100644 --- a/t/Shop/Tax.t +++ b/t/Shop/Tax.t @@ -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; diff --git a/t/Shop/Transaction.t b/t/Shop/Transaction.t index 5953b9296..aea3c194b 100644 --- a/t/Shop/Transaction.t +++ b/t/Shop/Transaction.t @@ -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");