We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0657731 commit a993cbaCopy full SHA for a993cba
1 file changed
tests/Http/Controllers/PublicWikiControllerTest.php
@@ -35,9 +35,7 @@ public function testShowEagerLoadsWikiLatestProfileForResource(): void {
35
}
36
37
public function testIndexEagerLoadsWikiLatestProfileOnceForCollection(): void {
38
- $n = rand(3, 100);
39
- echo $n;
40
- for ($i = 1; $i <= $n; $i++) {
+ for ($i = 1; $i <= rand(3, 100); $i++) {
41
$wiki = Wiki::factory()->create([
42
'domain' => 'index-eager-load-test-' . $i . '.wikibase.cloud',
43
'sitename' => 'Index Eager Load Test Site ' . $i,
0 commit comments