Skip to content

Commit fd8dae3

Browse files
Update meilisearch/meilisearch-php requirement from ^0.21.0 to ^0.23.0 (#172)
* Update meilisearch/meilisearch-php requirement from ^0.21.0 to ^0.23.0 Updates the requirements on meilisearch/meilisearch-php to permit the latest version. --- updated-dependencies: - dependency-name: meilisearch/meilisearch-php dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> * Remove `testGetDefaultSettings` since this test should be in the meilisearch-php Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Bruno Casali <[email protected]>
1 parent 64f4d54 commit fd8dae3

File tree

2 files changed

+1
-36
lines changed

2 files changed

+1
-36
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"ext-json": "*",
2323
"doctrine/doctrine-bundle": "^2.4",
2424
"illuminate/collections": "^8.47",
25-
"meilisearch/meilisearch-php": "^0.21.0",
25+
"meilisearch/meilisearch-php": "^0.23.0",
2626
"symfony/filesystem": "^4.4 || ^5.0 || ^6.0",
2727
"symfony/property-access": "^4.4 || ^5.0 || ^6.0",
2828
"symfony/serializer": "^4.4 || ^5.0 || ^6.0"

tests/Integration/SettingsTest.php

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -40,41 +40,6 @@ public function setUp(): void
4040
$this->application = new Application(self::$kernel);
4141
}
4242

43-
public function testGetDefaultSettings(): void
44-
{
45-
$primaryKey = 'ObjectID';
46-
$indexAName = $this->getPrefix().'indexA';
47-
$indexBName = $this->getPrefix().'indexB';
48-
$this->client->createIndex($indexAName);
49-
$this->client->createIndex($indexBName, ['primaryKey' => $primaryKey]);
50-
51-
$firstTask = $this->client->getTasks()['results'][0];
52-
$this->client->waitForTask($firstTask['uid']);
53-
54-
$settingA = $this->client->index($indexAName)->getSettings();
55-
$settingB = $this->client->index($indexBName)->getSettings();
56-
57-
$this->assertEquals(self::DEFAULT_RANKING_RULES, $settingA['rankingRules']);
58-
$this->assertNull($settingA['distinctAttribute']);
59-
$this->assertIsArray($settingA['searchableAttributes']);
60-
$this->assertEquals(['*'], $settingA['searchableAttributes']);
61-
$this->assertIsArray($settingA['displayedAttributes']);
62-
$this->assertEquals(['*'], $settingA['displayedAttributes']);
63-
$this->assertIsArray($settingA['stopWords']);
64-
$this->assertEmpty($settingA['stopWords']);
65-
$this->assertIsArray($settingA['synonyms']);
66-
$this->assertEmpty($settingA['synonyms']);
67-
68-
$this->assertEquals(self::DEFAULT_RANKING_RULES, $settingB['rankingRules']);
69-
$this->assertNull($settingB['distinctAttribute']);
70-
$this->assertEquals(['*'], $settingB['searchableAttributes']);
71-
$this->assertEquals(['*'], $settingB['displayedAttributes']);
72-
$this->assertIsArray($settingB['stopWords']);
73-
$this->assertEmpty($settingB['stopWords']);
74-
$this->assertIsArray($settingB['synonyms']);
75-
$this->assertEmpty($settingB['synonyms']);
76-
}
77-
7843
public function testUpdateSettings(): void
7944
{
8045
$index = $this->getPrefix().self::$indexName;

0 commit comments

Comments
 (0)