Skip to content

Commit

Permalink
Updated test due to change on remote server
Browse files Browse the repository at this point in the history
  • Loading branch information
jamielsharief committed May 25, 2020
1 parent 7b57a44 commit 1a5e88d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1] - 2020-05-25

### Fixed
- Fixed updated tests to work with changes on remote servers

## [1.0.0] - 2019-10-17

This component has been decoupled from the [OriginPHP framework](https://www.originphp.com/).
3 changes: 2 additions & 1 deletion tests/SocketTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ public function testSocketSSL()
$this->assertTrue($socket->connect());
//$this->assertTrue($socket->enableCrypto('sslv3'));
$this->assertEquals(65, $socket->write("GET https://about.google/intl/en/ HTTP/1.1\r\nConnection: close\r\n\r\n"));
$this->assertStringContainsString('<title>About - Google</title>', $socket->read(2500));

$this->assertStringContainsString('<title>Google - About Google, Our Culture', $socket->read(2500));
}

public function testEnableCrypto()
Expand Down

0 comments on commit 1a5e88d

Please sign in to comment.