We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e802ee commit ffda144Copy full SHA for ffda144
tests/Feature/StopwordsTest.php
@@ -16,8 +16,9 @@ protected function setUp(): void
16
17
$this->stopwordsUpsertRes = $this->client()->stopwords->put(
18
[
19
- "stopwords_name" => "stopword_set1",
20
- "stopwords_data" => ["Germany"],
+ "name" => "stopword_set1",
+ "stopwords" => ["Germany"],
21
+ "locale" => "en"
22
]
23
);
24
}
@@ -34,6 +35,7 @@ public function testCanUpsertAStopword(): void
34
35
{
36
$this->assertEquals("stopword_set1", $this->stopwordsUpsertRes['id']);
37
$this->assertEquals(["Germany"], $this->stopwordsUpsertRes['stopwords']);
38
+ $this->assertEquals('en', $this->stopwordsUpsertRes['locale']);
39
40
41
public function testCanRetrieveAStopword(): void
0 commit comments