Skip to content

Commit f6c5add

Browse files
committed
Fix tests
1 parent 9e22d92 commit f6c5add

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

tests/Engines/ArrayEngineTest.php

+6
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace Sti3bas\ScoutArray\Tests\Engines;
44

55
use Illuminate\Support\Collection;
6+
use Illuminate\Support\Facades\Config;
67
use Laravel\Scout\Builder;
78
use Mockery;
89
use PHPUnit\Framework\TestCase;
@@ -14,6 +15,11 @@
1415

1516
class ArrayEngineTest extends TestCase
1617
{
18+
protected function setUp(): void
19+
{
20+
Config::shouldReceive('get')->with('scout.after_commit', Mockery::any())->andReturn(false);
21+
}
22+
1723
/** @test */
1824
public function it_can_search_for_the_records()
1925
{

tests/Support/helpers.php

-8
This file was deleted.

0 commit comments

Comments
 (0)