mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +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
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
namespace Icewind\SMB\Test;
|
||||
|
||||
class Server extends \PHPUnit_Framework_TestCase {
|
||||
class Server extends TestCase {
|
||||
/**
|
||||
* @var \Icewind\SMB\Server $server
|
||||
*/
|
||||
|
|
@ -16,6 +16,7 @@ class Server extends \PHPUnit_Framework_TestCase {
|
|||
private $config;
|
||||
|
||||
public function setUp() {
|
||||
$this->requireBackendEnv('smbclient');
|
||||
$this->config = json_decode(file_get_contents(__DIR__ . '/config.json'));
|
||||
$this->server = new \Icewind\SMB\Server($this->config->host, $this->config->user, $this->config->password);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue