aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
Diffstat (limited to 't')
-rw-r--r--t/05-naming.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/05-naming.t b/t/05-naming.t
index 0e6f22b..5c645e0 100644
--- a/t/05-naming.t
+++ b/t/05-naming.t
@@ -33,11 +33,11 @@ is(WebCoso::Config->get_coll_by_name('coll1')
throws_ok {
WebCoso::Config->get_res_by_name('coll1')
}
- 'WebCoso::X::NameError',
+ 'WebCoso::X::NoSuchResource',
'muore se si chiede il tipo errato (r-c)';
throws_ok {
WebCoso::Config->get_coll_by_name('res1')
}
- 'WebCoso::X::NameError',
+ 'WebCoso::X::NoSuchCollection',
'muore se si chiede il tipo errato (c-r)';
}