Skip to content

Commit

Permalink
legacy detec fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EvilFreelancer committed Jan 5, 2020
1 parent 3bdc8a7 commit 73d108d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions phpunit.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<env name="ROS_HOST" value="127.0.0.1"/>
<env name="ROS_USER" value="admin"/>
<env name="ROS_PASS" value="admin"/>
<env name="ROS_PORT_MODERN" value="18728"/>
<env name="ROS_PORT_LEGACY" value="28728"/>
<env name="ROS_PORT_MODERN" value="8728"/>
<env name="ROS_PORT_LEGACY" value="18728"/>
</php>
</phpunit>
2 changes: 1 addition & 1 deletion tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function test__constructLegacy(): void
'user' => $this->router['user'],
'pass' => $this->router['pass'],
'host' => $this->router['host'],
'port' => $this->port_modern,
'port' => $this->port_legacy,
'legacy' => true
]);
$this->assertIsObject($obj);
Expand Down

0 comments on commit 73d108d

Please sign in to comment.