Skip to content

Commit ec67fd9

Browse files
committed
Cleanup: Use example.com instead of google.com for testing.
1 parent ce308c7 commit ec67fd9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/VCR/VCRTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function testShouldInterceptStreamWrapper()
2424
VCR::configure()->enableLibraryHooks(array('stream_wrapper'));
2525
VCR::turnOn();
2626
VCR::insertCassette('unittest_streamwrapper_test');
27-
$result = file_get_contents('http://google.com');
27+
$result = file_get_contents('http://example.com');
2828
$this->assertEquals('This is a stream wrapper test dummy.', $result, 'Stream wrapper call was not intercepted.');
2929
VCR::eject();
3030
VCR::turnOff();
@@ -39,7 +39,7 @@ public function testShouldInterceptCurl()
3939
VCR::configure()->enableLibraryHooks(array('curl_runkit'));
4040
VCR::turnOn();
4141
VCR::insertCassette('unittest_curl_test');
42-
$ch = curl_init('http://google.com/');
42+
$ch = curl_init('http://example.com/');
4343
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
4444
$result = curl_exec($ch);
4545
curl_close($ch);
@@ -55,7 +55,7 @@ public function testShouldInterceptGuzzleLibrary()
5555
VCR::turnOn();
5656
VCR::insertCassette('unittest_guzzle_test');
5757
$client = new \Guzzle\Http\Client();
58-
$response = $client->get('http://google.com')->send();
58+
$response = $client->get('http://example.com')->send();
5959
$this->assertEquals('This is a guzzle test dummy.', (string) $response->getBody(), 'Guzzle call was not intercepted.');
6060
VCR::eject();
6161
VCR::turnOff();

0 commit comments

Comments
 (0)