Commits

shl...@52c325ad-5fd0-0310-8a0f-c43feede02cc  committed 0840531

Got rid of warnings by $t->client() -> $t->ua() .

  • Participants
  • Parent commits 13cd811

Comments (0)

Files changed (2)

File Test-WWW-Mechanize-Mojo/CHANGES

 Revision history for Perl module Test::WWW::Mechanize::Mojo :
 
+v0.0.9      Thu May 19 23:14:29 IDT 2011
+    - Got rid of warnings by switching from $t->client to $t->ua.
+        - Thanks to Mirko Westermeier
+
 v0.0.8      Wed Jan 26 14:56:01 IST 2011
     - Convert the mentioning of CATALYST_SERVER to MOJO_SERVER.
         - thanks to Insurgent Software.

File Test-WWW-Mechanize-Mojo/lib/Test/WWW/Mechanize/Mojo.pm

     my $t = $self->tester;
   
     # Client
-    my $client = $t->client;
+    my $client = $t->ua;
     $client->app($t->app);
     $client->max_redirects($t->max_redirects);