Skip to content

Commit 376097b

Browse files
committed
disable cp index
1 parent 5b0aa7b commit 376097b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

tests/TestCase.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ protected function resolveApplicationConfiguration($app)
1515
{
1616
parent::resolveApplicationConfiguration($app);
1717

18-
// add typesense driver
1918
$app['config']->set('statamic.search.drivers.typesense', [
2019
'client' => [
2120
'api_key' => env('TYPESENSE_API_KEY', 'xyz'),
@@ -40,7 +39,10 @@ protected function resolveApplicationConfiguration($app)
4039
],
4140
]);
4241

43-
// add typesense index
42+
$app['config']->set('statamic.search.indexes.cp', [
43+
'driver' => 'null',
44+
]);
45+
4446
$app['config']->set('statamic.search.indexes.typesense_index', [
4547
'driver' => 'typesense',
4648
'searchables' => ['collection:pages'],

0 commit comments

Comments
 (0)