Skip to content

Commit 8a8ad48

Browse files
imorlandclaude
andcommitted
fix(tests): call app() before resolving cache.store in DeleteTest
`resolve('cache.store')` requires the container to be bootstrapped. The new regression test in #4391 called it before `$this->app()`, causing a binding resolution failure. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b0865d6 commit 8a8ad48

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

framework/core/tests/integration/api/notifications/DeleteTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ public function canDeleteAllNotifications(): array
7575
*/
7676
public function deleting_all_notifications_invalidates_unread_count_cache()
7777
{
78+
$this->app();
79+
7880
$cache = resolve('cache.store');
7981

8082
// Prime the cache with stale counts so we can verify they are cleared.

0 commit comments

Comments
 (0)