mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 17:24:07 +02:00
bumb phpunit version
This commit is contained in:
parent
3c5e45dc54
commit
7fc664a327
4 changed files with 4 additions and 5 deletions
|
|
@ -2,11 +2,10 @@ dist: trusty
|
||||||
sudo: required
|
sudo: required
|
||||||
language: php
|
language: php
|
||||||
php:
|
php:
|
||||||
- 5.6
|
|
||||||
- 7.0
|
|
||||||
- 7.1
|
- 7.1
|
||||||
- 7.2
|
- 7.2
|
||||||
- 7.3
|
- 7.3
|
||||||
|
- 7.4
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
"icewind/streams": ">=0.2.0"
|
"icewind/streams": ">=0.2.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpunit/phpunit": "^5.7",
|
"phpunit/phpunit": "^7.0",
|
||||||
"friendsofphp/php-cs-fixer": "^2.13"
|
"friendsofphp/php-cs-fixer": "^2.13"
|
||||||
},
|
},
|
||||||
"autoload" : {
|
"autoload" : {
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ namespace Icewind\SMB\Test;
|
||||||
use Icewind\SMB\IFileInfo;
|
use Icewind\SMB\IFileInfo;
|
||||||
use Icewind\SMB\Wrapped\FileInfo;
|
use Icewind\SMB\Wrapped\FileInfo;
|
||||||
|
|
||||||
class ParserTest extends \PHPUnit_Framework_TestCase {
|
class ParserTest extends \PHPUnit\Framework\TestCase {
|
||||||
public function modeProvider() {
|
public function modeProvider() {
|
||||||
return [
|
return [
|
||||||
['D', IFileInfo::MODE_DIRECTORY],
|
['D', IFileInfo::MODE_DIRECTORY],
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
namespace Icewind\SMB\Test;
|
namespace Icewind\SMB\Test;
|
||||||
|
|
||||||
abstract class TestCase extends \PHPUnit_Framework_TestCase {
|
abstract class TestCase extends \PHPUnit\Framework\TestCase {
|
||||||
protected function requireBackendEnv($backend) {
|
protected function requireBackendEnv($backend) {
|
||||||
if (getenv('BACKEND') and getenv('BACKEND') !== $backend) {
|
if (getenv('BACKEND') and getenv('BACKEND') !== $backend) {
|
||||||
$this->markTestSkipped('Skipping tests for ' . $backend . ' backend');
|
$this->markTestSkipped('Skipping tests for ' . $backend . ' backend');
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue