-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix missing variable in closure (#694)
- Loading branch information
1 parent
12ff8b6
commit 1f5913e
Showing
3 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php | ||
|
||
namespace Laravel\Scout\Tests\Feature; | ||
|
||
use Laravel\Scout\ScoutServiceProvider; | ||
use MeiliSearch\Client; | ||
use Orchestra\Testbench\TestCase; | ||
|
||
class MeilisearchEngineTest extends TestCase | ||
{ | ||
protected function getPackageProviders($app) | ||
{ | ||
return [ScoutServiceProvider::class]; | ||
} | ||
|
||
protected function defineEnvironment($app) | ||
{ | ||
$app->make('config')->set('scout.driver', 'meilisearch'); | ||
} | ||
|
||
public function test_the_meilisearch_client_can_be_initialized() | ||
{ | ||
$this->assertInstanceOf(Client::class, app(Client::class)); | ||
} | ||
} |