summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--t/spore-method/base.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/spore-method/base.t b/t/spore-method/base.t
index 5010c38..5f9c440 100644
--- a/t/spore-method/base.t
+++ b/t/spore-method/base.t
@@ -31,7 +31,7 @@ ok $method = Net::HTTP::Spore::Meta::Method->wrap(
     package_name => 'test::api',
     method       => 'GET',
     path         => '/user/',
-    params       => [qw/name id street/],
+    params       => { optional => [qw/name id street/] },
     required     => [qw/name id/],
 );