File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+ /*
3
+ * File: Issue355Test.php
4
+ * Category: -
5
+ * Author: M.Goldenbaum
6
+ * Created: 10.01.23 10:48
7
+ * Updated: -
8
+ *
9
+ * Description:
10
+ * -
11
+ */
12
+
13
+ namespace Tests \issues ;
14
+
15
+ use PHPUnit \Framework \TestCase ;
16
+ use Webklex \PHPIMAP \ClientManager ;
17
+ use Webklex \PHPIMAP \Header ;
18
+
19
+ class Issue355Test extends TestCase {
20
+
21
+ /**
22
+ * Setup the test environment.
23
+ *
24
+ * @return void
25
+ */
26
+ public function setUp (): void {
27
+ $ this ->cm = new ClientManager ();
28
+ }
29
+
30
+ public function testIssue () {
31
+ $ raw_header = "Subject: =?UTF-8?Q?Re=3A_Uppdaterat_=C3=A4rende_=28447899=29=2C_kostnader_f=C3=B6r_hj=C3=A4?= =?UTF-8?Q?lp_med_stadge=C3=A4ndring_enligt_ny_lagstiftning?= \r\n" ;
32
+
33
+ $ header = new Header ($ raw_header );
34
+ $ subject = $ header ->get ("subject " );
35
+
36
+ $ this ->assertEquals ("Re: Uppdaterat ärende (447899), kostnader för hjälp med stadgeändring enligt ny lagstiftning " , $ subject ->toString ());
37
+ }
38
+
39
+ }
You can’t perform that action at this time.
0 commit comments