Go3shom wrote a comment+100 XP
3w ago
@RogerManich Yes, I noticed this after a while. Thanks Roger
Go3shom wrote a comment+100 XP
1mo ago
@radmax I was facing an issue too but the error was
FAILED Tests\Browser\CreatIdeaTest > it creates a new idea
Failed asserting that an array has the key 'title'.
at tests\Browser\CreatIdeaTest.php:27
23▕ ->click('Create')
24▕ ->assertPathIs('/ideas')
25▕ ;
26▕
➜ 27▕ expect($user->ideas()->first())->toMatchArray([
28▕ 'title' => 'Idea Title',
29▕ ...
And I don't know why did the relation $user->ideas()->first() returns null!
But it works after trying what you've said, so, thanks a lot.
Go3shom wrote a comment+100 XP
1mo ago
Go3shom wrote a comment+100 XP
1mo ago
@wordxpression If I understand what you mean right, you may get the All button count by calling the count method on $statusCounts like so:
<span class="text-xs pl-3">{{ $statusCounts->count() }}</span>