File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ public function testConstraintStringContainsWhenIgnoreCase(): void
49
49
$ this ->assertTrue ($ constraint ->evaluate ('ORYGINAŁ ' , '' , true ));
50
50
$ this ->assertTrue ($ constraint ->evaluate ('oryginał ' , '' , true ));
51
51
$ this ->assertEquals ('contains "oryginał" ' , $ constraint ->toString ());
52
- $ this ->assertEquals (1 , \count ( $ constraint) );
52
+ $ this ->assertCount (1 , $ constraint );
53
53
54
54
$ this ->expectException (ExpectationFailedException::class);
55
55
@@ -64,7 +64,7 @@ public function testConstraintStringContainsForUtf8StringWhenNotIgnoreCase(): vo
64
64
$ this ->assertFalse ($ constraint ->evaluate ('ORYGINAŁ ' , '' , true ));
65
65
$ this ->assertTrue ($ constraint ->evaluate ('oryginał ' , '' , true ));
66
66
$ this ->assertEquals ('contains "oryginał" ' , $ constraint ->toString ());
67
- $ this ->assertEquals (1 , \count ( $ constraint) );
67
+ $ this ->assertCount (1 , $ constraint );
68
68
69
69
$ this ->expectException (ExpectationFailedException::class);
70
70
Original file line number Diff line number Diff line change @@ -1142,7 +1142,7 @@ public function testConstraintStringNotContainsWhenIgnoreCase(): void
1142
1142
$ this ->assertFalse ($ constraint ->evaluate ('ORYGINAŁ ' , '' , true ));
1143
1143
$ this ->assertFalse ($ constraint ->evaluate ('oryginał ' , '' , true ));
1144
1144
$ this ->assertEquals ('does not contain "oryginał" ' , $ constraint ->toString ());
1145
- $ this ->assertEquals (1 , \count ( $ constraint) );
1145
+ $ this ->assertCount (1 , $ constraint );
1146
1146
1147
1147
$ this ->expectException (ExpectationFailedException::class);
1148
1148
@@ -1159,7 +1159,7 @@ public function testConstraintStringNotContainsForUtf8StringWhenNotIgnoreCase():
1159
1159
$ this ->assertTrue ($ constraint ->evaluate ('ORYGINAŁ ' , '' , true ));
1160
1160
$ this ->assertFalse ($ constraint ->evaluate ('oryginał ' , '' , true ));
1161
1161
$ this ->assertEquals ('does not contain "oryginał" ' , $ constraint ->toString ());
1162
- $ this ->assertEquals (1 , \count ( $ constraint) );
1162
+ $ this ->assertCount (1 , $ constraint );
1163
1163
1164
1164
$ this ->expectException (ExpectationFailedException::class);
1165
1165
You can’t perform that action at this time.
0 commit comments