Browse Source

skip state if openssl extention is not available added to ClientTest of export methods

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

8
tests/ClientTest.php

@ -274,12 +274,20 @@ class ClientTest extends TestCase
public function testExportMethod(): void
{
if (!extension_loaded('openssl')) {
$this->markTestSkipped('The OpenSSL extension is not available.');
}
$result = $this->client->export();
$this->assertNotEmpty($result);
}
public function testExportQuery(): void
{
if (!extension_loaded('openssl')) {
$this->markTestSkipped('The OpenSSL extension is not available.');
}
$result = $this->client->query('/export');
$this->assertNotEmpty($result);
}

Loading…
Cancel
Save