@@ -250,7 +250,7 @@ public function testPerformanceLogging(): void
250250 {
251251 // Make sure debugging is on for our view
252252 $ view = new View ($ this ->config , $ this ->viewsDir , $ this ->loader , true );
253- $ this ->assertCount ( 0 , $ view ->getPerformanceData ());
253+ $ this ->assertEmpty ( $ view ->getPerformanceData ());
254254
255255 $ view ->setVar ('testString ' , 'Hello World ' );
256256 $ expected = '<h1>Hello World</h1> ' ;
@@ -262,12 +262,12 @@ public function testPerformanceNonLogging(): void
262262 {
263263 // Make sure debugging is on for our view
264264 $ view = new View ($ this ->config , $ this ->viewsDir , $ this ->loader , false );
265- $ this ->assertCount ( 0 , $ view ->getPerformanceData ());
265+ $ this ->assertEmpty ( $ view ->getPerformanceData ());
266266
267267 $ view ->setVar ('testString ' , 'Hello World ' );
268268 $ expected = '<h1>Hello World</h1> ' ;
269269 $ this ->assertSame ($ expected , $ view ->renderString ('<h1><?= $testString ?></h1> ' , [], true ));
270- $ this ->assertCount ( 0 , $ view ->getPerformanceData ());
270+ $ this ->assertEmpty ( $ view ->getPerformanceData ());
271271 }
272272
273273 public function testRenderLayoutExtendsCorrectly (): void
0 commit comments