Permalink
Browse files

fixed test

  • Loading branch information...
1 parent 44819d3 commit 27534c1d3cea7851dad34039699ff52eb853fa32 Sebastian Riedel committed Jul 19, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/mojo/client.t
View
@@ -99,9 +99,9 @@ $tx = $client->get('https://www.google.com');
is($tx->has_error, 1, 'request failed');
# Simple request with body
-$tx = $client->get('http://www.apache.org' => 'Hi there!');
+$tx = $client->get('http://mojolicious.org' => 'Hi there!');
is($tx->req->method, 'GET', 'right method');
-is($tx->req->url, 'http://www.apache.org', 'right url');
+is($tx->req->url, 'http://mojolicious.org', 'right url');
is($tx->req->headers->content_length, 9, 'right content length');
is($tx->req->body, 'Hi there!', 'right content');
is($tx->res->code, 200, 'right status');

0 comments on commit 27534c1

Please sign in to comment.