@@ -43,7 +43,7 @@ public function testQueryCacheDependsOnHints(): array
4343 }
4444
4545 /** @depends testQueryCacheDependsOnHints */
46- public function testQueryCacheDependsOnFirstResult (array $ previous ): void
46+ public function testQueryCacheDoesNotDependOnFirstResultForDefaultOutputWalker (array $ previous ): void
4747 {
4848 [$ query , $ cache ] = $ previous ;
4949 assert ($ query instanceof Query);
@@ -55,11 +55,11 @@ public function testQueryCacheDependsOnFirstResult(array $previous): void
5555 $ query ->setMaxResults (9999 );
5656
5757 $ query ->getResult ();
58- self ::assertCount ($ cacheCount + 1 , $ cache ->getValues ());
58+ self ::assertCount ($ cacheCount , $ cache ->getValues ());
5959 }
6060
6161 /** @depends testQueryCacheDependsOnHints */
62- public function testQueryCacheDependsOnMaxResults (array $ previous ): void
62+ public function testQueryCacheDoesNotDependOnMaxResultsForDefaultOutputWalker (array $ previous ): void
6363 {
6464 [$ query , $ cache ] = $ previous ;
6565 assert ($ query instanceof Query);
@@ -70,7 +70,7 @@ public function testQueryCacheDependsOnMaxResults(array $previous): void
7070 $ query ->setMaxResults (10 );
7171
7272 $ query ->getResult ();
73- self ::assertCount ($ cacheCount + 1 , $ cache ->getValues ());
73+ self ::assertCount ($ cacheCount , $ cache ->getValues ());
7474 }
7575
7676 /** @depends testQueryCacheDependsOnHints */
0 commit comments