File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 18
18
<directory suffix =" .php" >./src</directory >
19
19
</whitelist >
20
20
</filter >
21
- </phpunit >
21
+ </phpunit >
Original file line number Diff line number Diff line change @@ -172,12 +172,12 @@ public function testDesadv()
172
172
$ message = str_replace ("' " , "' \n" , $ encoder ->get ());
173
173
//fwrite(STDOUT, "\n\nDESADV\n" . $message);
174
174
175
- $ this ->assertContains ('UNT+15 ' , $ message );
176
- $ this ->assertContains ('DTM+137 ' , $ message );
177
- $ this ->assertContains ('DTM+11 ' , $ message );
178
- $ this ->assertContains ('DTM+17 ' , $ message );
179
- $ this ->assertContains ('CTA++ ' , $ message );
180
- $ this ->assertContains ('COM+ ' , $ message );
175
+ $ this ->assertStringContainsString ('UNT+15 ' , $ message );
176
+ $ this ->assertStringContainsString ('DTM+137 ' , $ message );
177
+ $ this ->assertStringContainsString ('DTM+11 ' , $ message );
178
+ $ this ->assertStringContainsString ('DTM+17 ' , $ message );
179
+ $ this ->assertStringContainsString ('CTA++ ' , $ message );
180
+ $ this ->assertStringContainsString ('COM+ ' , $ message );
181
181
} catch (EdifactException $ e ) {
182
182
fwrite (STDOUT , "\n\nDESADV \n" . $ e ->getMessage ());
183
183
}
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ public function testInvoice()
132
132
$ message = str_replace ("' " , "' \n" , $ encoder ->get ());
133
133
// fwrite(STDOUT, "\n\nINVOICE\n" . $message);
134
134
135
- $ this ->assertContains ('UNT+40 ' , $ message );
135
+ $ this ->assertStringContainsString ('UNT+40 ' , $ message );
136
136
} catch (EdifactException $ e ) {
137
137
fwrite (STDOUT , "\n\nINVOICE \n" . $ e ->getMessage ());
138
138
}
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ public function testOrders()
68
68
$ message = str_replace ("' " , "' \n" , $ encoder ->get ());
69
69
//fwrite(STDOUT, "\n\nORDERS\n" . $message);
70
70
71
- $ this ->assertContains ('UNT+20 ' , $ message );
71
+ $ this ->assertstringContainsString ('UNT+20 ' , $ message );
72
72
} catch (EdifactException $ e ) {
73
73
fwrite (STDOUT , "\n\nORDERS \n" . $ e ->getMessage ());
74
74
}
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ public function testOrdrsp()
70
70
$ message = str_replace ("' " , "' \n" , $ encoder ->get ());
71
71
// fwrite(STDOUT, "\n\nORDRSP\n" . $message);
72
72
73
- $ this ->assertContains ('UNT+11 ' , $ message );
73
+ $ this ->assertStringContainsString ('UNT+11 ' , $ message );
74
74
}
75
75
76
76
You can’t perform that action at this time.
0 commit comments