diff options
Diffstat (limited to 'tests/plugins/test/test.php')
-rw-r--r-- | tests/plugins/test/test.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/plugins/test/test.php b/tests/plugins/test/test.php index 34cd339e..8dbb3f94 100644 --- a/tests/plugins/test/test.php +++ b/tests/plugins/test/test.php | |||
@@ -1,5 +1,7 @@ | |||
1 | <?php | 1 | <?php |
2 | 2 | ||
3 | use Shaarli\Bookmark\Bookmark; | ||
4 | |||
3 | /** | 5 | /** |
4 | * Hook for test. | 6 | * Hook for test. |
5 | * | 7 | * |
@@ -43,3 +45,8 @@ function test_register_routes(): array | |||
43 | ], | 45 | ], |
44 | ]; | 46 | ]; |
45 | } | 47 | } |
48 | |||
49 | function hook_test_filter_search_entry(Bookmark $bookmark, array $context): bool | ||
50 | { | ||
51 | return $context['_result']; | ||
52 | } | ||