Skip to content

Commit ebce8e9

Browse files
committed
Merge branch '5.x-dev' of https://github.com/pdphilip/laravel-elasticsearch into 5.x-dev
2 parents 40f1bff + ed2c0a1 commit ebce8e9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/QueryElasticsearchSpecificTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
declare(strict_types=1);
44

5+
use PDPhilip\Elasticsearch\Exceptions\BuilderException;
56
use PDPhilip\Elasticsearch\Query\Builder;
67
use PDPhilip\Elasticsearch\Tests\Models\Post;
78
use PDPhilip\Elasticsearch\Tests\Models\User;
@@ -190,7 +191,7 @@
190191

191192
it('throws BuilderException for invalid nested query argument', function () {
192193
Post::whereNestedObject('comments', 12345);
193-
})->throws(\PDPhilip\Elasticsearch\Exceptions\BuilderException::class);
194+
})->throws(BuilderException::class);
194195

195196
it('whereFieldExists matches users with the field set', function () {
196197
expect(User::whereFieldExists('title')->count())->toBe(8);

0 commit comments

Comments
 (0)