Skip to content

Commit 2f94629

Browse files
committed
Fix test assertion based on code review feedback
1 parent 5a3fab2 commit 2f94629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/Services/SmartMatchingServiceTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public function testServiceCreatesSmartMatchRecordsForFoundMatches(): void
121121

122122
$matches = $this->service->findSmartMatches($user);
123123

124-
// Should have created smart match records
125-
$this->assertGreaterThanOrEqual(0, $matches->count());
124+
// Should have created smart match records (count can be 0 or more depending on scoring)
125+
$this->assertInstanceOf(\Illuminate\Support\Collection::class, $matches);
126126
}
127127
}

0 commit comments

Comments
 (0)