We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a3fab2 commit 2f94629Copy full SHA for 2f94629
tests/Unit/Services/SmartMatchingServiceTest.php
@@ -121,7 +121,7 @@ public function testServiceCreatesSmartMatchRecordsForFoundMatches(): void
121
122
$matches = $this->service->findSmartMatches($user);
123
124
- // Should have created smart match records
125
- $this->assertGreaterThanOrEqual(0, $matches->count());
+ // Should have created smart match records (count can be 0 or more depending on scoring)
+ $this->assertInstanceOf(\Illuminate\Support\Collection::class, $matches);
126
}
127
0 commit comments