From 075be276916938709f1d5916fc36f2188f5485f2 Mon Sep 17 00:00:00 2001 From: Dmitry Khomutov Date: Thu, 16 Mar 2017 21:12:56 +0700 Subject: [PATCH] Fixed HttpClientTest test --- tests/B8Framework/HttpClientTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/B8Framework/HttpClientTest.php b/tests/B8Framework/HttpClientTest.php index f3aadbf3..ec7d3c8a 100755 --- a/tests/B8Framework/HttpClientTest.php +++ b/tests/B8Framework/HttpClientTest.php @@ -9,25 +9,25 @@ class HttpClientTest extends \PHPUnit_Framework_TestCase public function testSimpleRequest() { $http = new HttpClient(); - $html = $http->request('GET', 'https://www.cloudflare.com/'); + $html = $http->request('GET', 'https://www.google.com'); - $this->assertContains('Cloudflare', $html['body']); + $this->assertContains('Google', $html['body']); } public function testBaseUrl() { - $http = new HttpClient('https://www.cloudflare.com'); + $http = new HttpClient('https://www.google.com'); $html = $http->request('GET', '/'); - $this->assertContains('Cloudflare', $html['body']); + $this->assertContains('Google', $html['body']); } public function testGet() { - $http = new HttpClient('https://www.cloudflare.com'); + $http = new HttpClient('https://www.google.com'); $html = $http->get('overview', ['x' => 1]); - $this->assertContains('Cloudflare', $html['body']); + $this->assertContains('Google', $html['body']); } public function testGetJson()