Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Plack::Request 警告されるので params -> parameters

  • Loading branch information...
commit 9720644e773c4237ecd421dfb4f85007b4c9b862 1 parent 1544454
@fujiwara fujiwara authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 t/plugin_unicode.t
View
6 t/plugin_unicode.t
@@ -17,10 +17,10 @@ use Test::Base;
my $test = 'テスト';
Test::More::ok( utf8::is_utf8($test), 'utf8 flag automatically on by Ark' );
- Test::More::ok(utf8::is_utf8( $c->req->params->{foo} ), 'request is utf8');
- Test::More::is($c->req->params->{foo}, $test, 'request ok');
+ Test::More::ok(utf8::is_utf8( $c->req->parameters->{foo} ), 'request is utf8');
+ Test::More::is($c->req->parameters->{foo}, $test, 'request ok');
- $c->res->body( $c->req->params->{foo} );
+ $c->res->body( $c->req->parameters->{foo} );
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.