Browse Source

travis does not allow to use ssh on testing stage

pull/40/head
Paul Rock 6 years ago
parent
commit
71f5bf7bf5
  1. 8
      tests/ClientTest.php

8
tests/ClientTest.php

@ -274,8 +274,8 @@ class ClientTest extends TestCase
public function testExportMethod(): void
{
if (!extension_loaded('openssl')) {
$this->markTestSkipped('The OpenSSL extension is not available.');
if (!in_array(gethostname(), ['pasha-lt', 'pasha-pc'])) {
$this->markTestSkipped('Travis does not allow to use SSH protocol on testing stage');
}
$result = $this->client->export();
@ -284,8 +284,8 @@ class ClientTest extends TestCase
public function testExportQuery(): void
{
if (!extension_loaded('openssl')) {
$this->markTestSkipped('The OpenSSL extension is not available.');
if (!in_array(gethostname(), ['pasha-lt', 'pasha-pc'])) {
$this->markTestSkipped('Travis does not allow to use SSH protocol on testing stage');
}
$result = $this->client->query('/export');

Loading…
Cancel
Save