mirror of
https://github.com/Ne-Lexa/php-zip.git
synced 2025-08-05 23:17:24 +02:00
Improved Windows compatibility, fix #54
This commit is contained in:
@@ -29,8 +29,8 @@ class ZipStreamOpenTest extends TestCase
|
||||
*/
|
||||
public function testOpenStream($resource, $exceptionClass = null, $exceptionMessage = null)
|
||||
{
|
||||
if ($resource === null) {
|
||||
static::markTestSkipped('skip null resource');
|
||||
if ($resource === null || $resource === false) {
|
||||
static::markTestSkipped('skip resource');
|
||||
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user