Skip to content

Commit b18c159

Browse files
committed
fix doc
1 parent b140c77 commit b18c159

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/guide/testing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ $this->sharpDashboard(MyDashboard::class)
285285
If your app contains global filters, you should be able to test normally, but it will be set to its default value. If you need, you can set a specific value using `withGlobalFilter()`:
286286

287287
```php
288-
$this->withGlobalFilter(CompanyFilter::class, 'apple')
288+
$this->withSharpGlobalFilter(CompanyFilter::class, 'apple')
289289
->sharpList(Post::class)
290290
//...
291291
```

0 commit comments

Comments
 (0)