smb/tests/TestCase.php
Andy Scherzinger 8acffcd855
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-02 20:28:14 +02:00

15 lines
399 B
PHP

<?php
/**
* SPDX-FileCopyrightText: 2015 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: 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');
}
}
}