fixed a test

This commit is contained in:
JT Smith 2008-03-19 23:30:14 +00:00
parent 309b16ca09
commit 3062b9477e

View file

@ -37,10 +37,10 @@ plan tests => 20; # Increment this number for each test you create
#----------------------------------------------------------------------------
# put your tests here
throws_deeply ( sub { my $cart = WebGUI::Shop::Cart->newBySession(); },
throws_deeply ( sub { my $cart = WebGUI::Shop::Cart->getCartBySession(); },
'WebGUI::Error::InvalidObject',
{
error => 'Needs a session.',
error => 'Need a session.',
got => '',
expected => 'WebGUI::Session',
},