From 1d68514d0f6b8cd334adb150e905bf32914daad8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Wed, 1 Sep 2021 12:56:24 +0200 Subject: [PATCH 1/3] Update MeiliSearch version in README Should be merged once MeiliSearch v0.22.0 is released --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 88367b9b..8b39e592 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ Also, see our [Documentation](https://docs.meilisearch.com/learn/tutorials/getti ## 🤖 Compatibility with MeiliSearch -This package only guarantees the compatibility with the [version v0.21.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.21.0). +This package only guarantees the compatibility with the [version v0.22.0 of MeiliSearch](https://github.com/meilisearch/MeiliSearch/releases/tag/v0.22.0). ## 💡 Learn More From b9d7b7a1f9b5df214c05f52b4d9239fe11fcad0e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Wed, 1 Sep 2021 13:30:11 +0200 Subject: [PATCH 2/3] Uncomment test --- tests/Integration/SettingsTest.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Integration/SettingsTest.php b/tests/Integration/SettingsTest.php index 53e27d2b..3122c70b 100644 --- a/tests/Integration/SettingsTest.php +++ b/tests/Integration/SettingsTest.php @@ -85,7 +85,6 @@ public function testUpdateSettings(): void $this->assertEquals(['a', 'an', 'the'], $settings['stopWords']); $this->assertNotEmpty($settings['filterableAttributes']); - // commented until this bug is fixed: https://github.com/meilisearch/MeiliSearch/issues/1625 - // $this->assertEquals(['title', 'publishedAt'], $settings['filterableAttributes']); + $this->assertEquals(['title', 'publishedAt'], $settings['filterableAttributes']); } } From 89ed2dfc6c8f332489b815347f4d6f45d696f914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Tue, 14 Sep 2021 12:36:35 +0200 Subject: [PATCH 3/3] Fix test --- tests/Integration/SettingsTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/Integration/SettingsTest.php b/tests/Integration/SettingsTest.php index 3122c70b..308d9be5 100644 --- a/tests/Integration/SettingsTest.php +++ b/tests/Integration/SettingsTest.php @@ -22,6 +22,7 @@ class SettingsTest extends BaseKernelTestCase 'typo', 'proximity', 'attribute', + 'sort', 'exactness', ]; @@ -85,6 +86,6 @@ public function testUpdateSettings(): void $this->assertEquals(['a', 'an', 'the'], $settings['stopWords']); $this->assertNotEmpty($settings['filterableAttributes']); - $this->assertEquals(['title', 'publishedAt'], $settings['filterableAttributes']); + $this->assertEquals(['publishedAt', 'title'], $settings['filterableAttributes']); } }