mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
split running of smbclient and libsmbclient backend tests
This commit is contained in:
parent
53fe7f2a44
commit
25c0dffdc7
8 changed files with 39 additions and 9 deletions
|
|
@ -9,7 +9,7 @@ namespace Icewind\SMB\Test;
|
|||
|
||||
use Icewind\SMB\NativeServer;
|
||||
|
||||
class NativeStream extends \PHPUnit_Framework_TestCase {
|
||||
class NativeStream extends TestCase {
|
||||
/**
|
||||
* @var \Icewind\SMB\Server $server
|
||||
*/
|
||||
|
|
@ -28,6 +28,7 @@ class NativeStream extends \PHPUnit_Framework_TestCase {
|
|||
protected $config;
|
||||
|
||||
public function setUp() {
|
||||
$this->requireBackendEnv('libsmbclient');
|
||||
if (!function_exists('smbclient_state_new')) {
|
||||
$this->markTestSkipped('libsmbclient php extension not installed');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue