Browse Source

host env of socked fixed

pull/8/head
Paul Rock 7 years ago
parent
commit
cfb4343df1
  1. 2
      tests/Streams/ResourceStreamTest.php

2
tests/Streams/ResourceStreamTest.php

@ -77,7 +77,7 @@ class ResourceStreamTest extends TestCase
{ {
return [ return [
[fopen(__FILE__, 'rb'),], // Myself, sure I exists [fopen(__FILE__, 'rb'),], // Myself, sure I exists
[fsockopen('tcp://127.0.0.1', getenv('ROS_PORT_MODERN')),], // Socket
[fsockopen('tcp://' . getenv('ROS_HOST'), getenv('ROS_PORT_MODERN')),], // Socket
[STDIN, false], // Try it, but do not close STDIN please !!! [STDIN, false], // Try it, but do not close STDIN please !!!
// What else ? // What else ?
]; ];

Loading…
Cancel
Save