Skip to content

Commit

Permalink
avoid using experimental method of Mojo in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yko committed Aug 10, 2011
1 parent b7e8dbf commit ea195c7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Changes
@@ -1,7 +1,8 @@
Revision history for mojox-cpan-uploader

0.03 Wed Aug 10 14:14:34 2011
0.03 Wed Aug 10 14:32:36 2011
Fixed parameters handling in mojo-cpanup
Avoid using experimental Mojo methods in tests

0.02_1 Wed Jun 01 16:52:36 2011
Switched to Mojo::UserAgent (Mojoliicous 1.16)
Expand Down
4 changes: 3 additions & 1 deletion t/01.mojo-cpan-uploader.t
Expand Up @@ -60,7 +60,9 @@ my $up = MojoX::CPAN::Uploader->new;

isa_ok($up, 'MojoX::CPAN::Uploader');

$up->url($t->build_url->path('/auth'));
my $url = $t->tx->req->url->clone;
$url->path('/auth');
$up->url($url);

$up->client($t->ua);
$up->auth('user', 'pass');
Expand Down

0 comments on commit ea195c7

Please sign in to comment.