blob: eae0b206fac2a0aa81318fd3991f12a3177404d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
From 785981177a296b855d7318e87e095a0ea56f9715 Mon Sep 17 00:00:00 2001
From: Remi Collet <remi@remirepo.net>
Date: Wed, 9 Oct 2019 09:11:46 +0200
Subject: [PATCH] fix Bad file descriptor (7.4)
---
tests/VObject/Parser/MimeDirTest.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/VObject/Parser/MimeDirTest.php b/tests/VObject/Parser/MimeDirTest.php
index 671c2306..30906885 100644
--- a/tests/VObject/Parser/MimeDirTest.php
+++ b/tests/VObject/Parser/MimeDirTest.php
@@ -16,7 +16,7 @@ class MimeDirTest extends TestCase
public function testParseError()
{
$mimeDir = new MimeDir();
- $mimeDir->parse(fopen(__FILE__, 'a'));
+ $mimeDir->parse(fopen(__FILE__, 'a+'));
}
public function testDecodeLatin1()
|