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
16
tests/TestCase.php
Normal file
16
tests/TestCase.php
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
/**
|
||||
* Copyright (c) 2015 Robin Appelman <icewind@owncloud.com>
|
||||
* This file is licensed under the Licensed under the MIT license:
|
||||
* http://opensource.org/licenses/MIT
|
||||
*/
|
||||
|
||||
namespace Icewind\SMB\Test;
|
||||
|
||||
abstract class TestCase extends \PHPUnit_Framework_TestCase {
|
||||
protected function requireBackendEnv($backend) {
|
||||
if (getenv('BACKEND') and getenv('BACKEND') !== $backend) {
|
||||
$this->markTestSkipped('Skipping tests for ' . $backend . ' backend');
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue