Skip to content

Handling of params array in the $queries array for multipleQueries method #663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

damcou
Copy link
Contributor

@damcou damcou commented Feb 1, 2021

Q A
Bug fix? yes
New feature? no
BC breaks? no
Related Issue Fix #624
Need Doc update no

This PR deals with the changes proposed in PR #637 with the following additions :

  • serializeQueryParameters has been moved to Helpers class
  • null coalescing operator has been changed to an old PHP version compliant ternary operator
  • removed short syntax for empty array
  • the MultipleIndexTest has been updated

@damcou damcou requested a review from chloelbn February 1, 2021 13:55
@damcou damcou changed the title Handling of param array in the $queries array for multipleQueries method Handling of params array in the $queries array for multipleQueries method Feb 1, 2021
@chloelbn chloelbn merged commit 0097572 into master Feb 8, 2021
chloelbn added a commit that referenced this pull request Feb 16, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* Indexing and Settings tests for SearchIndexTest.php

* Add SearchTest method

* Add SynonymsTest method

* Add testQueryRules method

* Add testBatching method

* Add testReplacing and testExists methods + move sample data

* Add SearchClientTest.php

* Add multiQueries test

* Adding AccountTest.php and remove usage of SyncClient

* Adding SecuredApiKeysTest

* Adding AnalyticsClientTest.php

* Adding AnalyticsClientTest.php

* Adding InsightsClientTest.php

* Adding RecommendationClientTest.php + CS fixer

* Adding Mcm tests

* Add stopAbTest() test

* Remove unnecessary files

* Handling of param array in the $queries array for multipleQueries method (#663)

* Remove unnecessary files

* First required changes

* Removing self::assert* notations

* fix(cts): delete indexes initialisation

* Using wait() on saveObject() rather than multiResponse

* Removing all static arrays for indices

* Removing unwanted setPersonalizationStrategy call

* use secured index name

* Required changes after code review

* Adding loop to check if indices exist before additing the A/B Tests

* Adding security into loops

* Set cpts to 10

* Set cpts to 20

* Set cpts to 10

* Set cpts to 10

Co-authored-by: Chloe Liban <chloe.liban@gmail.com>
chloelbn added a commit that referenced this pull request Apr 5, 2021
* Indexing and Settings tests for SearchIndexTest.php

* Add SearchTest method

* Add SynonymsTest method

* Add testQueryRules method

* Add testBatching method

* Add testReplacing and testExists methods + move sample data

* Add SearchClientTest.php

* Add multiQueries test

* Adding AccountTest.php and remove usage of SyncClient

* Adding SecuredApiKeysTest

* Adding AnalyticsClientTest.php

* Adding AnalyticsClientTest.php

* Adding InsightsClientTest.php

* Adding RecommendationClientTest.php + CS fixer

* Adding Mcm tests

* Add stopAbTest() test

* Remove unnecessary files

* Handling of param array in the $queries array for multipleQueries method (#663)

* Remove unnecessary files

* First required changes

* Removing self::assert* notations

* fix(cts): delete indexes initialisation

* Using wait() on saveObject() rather than multiResponse

* Removing all static arrays for indices

* Removing unwanted setPersonalizationStrategy call

* use secured index name

* Required changes after code review

* Adding loop to check if indices exist before additing the A/B Tests

* Adding security into loops

* Set cpts to 10

* Set cpts to 20

* Set cpts to 10

* Set cpts to 10

Co-authored-by: Chloe Liban <chloe.liban@gmail.com>
chloelbn added a commit that referenced this pull request Apr 5, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
* feat: add custom dictionary methods (tests still WIP)

* chore: add docblocks

* feat: update tests

* debug: use API key dealer

* Revert "debug: use API key dealer"

This reverts commit dcf05df.

* feat: refactor tests to rely on objectID checks instead of nbHits

* feat: finzalize CTS

* chore: address feedback

* chore: remove unused method

* Add missing part of the url for stopABTest() method (#666)

* Handling of param array in the $queries array for multipleQueries method (#663)

* Add Algolia CTS (#665)

* Indexing and Settings tests for SearchIndexTest.php

* Add SearchTest method

* Add SynonymsTest method

* Add testQueryRules method

* Add testBatching method

* Add testReplacing and testExists methods + move sample data

* Add SearchClientTest.php

* Add multiQueries test

* Adding AccountTest.php and remove usage of SyncClient

* Adding SecuredApiKeysTest

* Adding AnalyticsClientTest.php

* Adding AnalyticsClientTest.php

* Adding InsightsClientTest.php

* Adding RecommendationClientTest.php + CS fixer

* Adding Mcm tests

* Add stopAbTest() test

* Remove unnecessary files

* Handling of param array in the $queries array for multipleQueries method (#663)

* Remove unnecessary files

* First required changes

* Removing self::assert* notations

* fix(cts): delete indexes initialisation

* Using wait() on saveObject() rather than multiResponse

* Removing all static arrays for indices

* Removing unwanted setPersonalizationStrategy call

* use secured index name

* Required changes after code review

* Adding loop to check if indices exist before additing the A/B Tests

* Adding security into loops

* Set cpts to 10

* Set cpts to 20

* Set cpts to 10

* Set cpts to 10

Co-authored-by: Chloe Liban <chloe.liban@gmail.com>

* chore(CTS): add retry on tests (#672)

* chore(cts): fix api keys test

* chore(CTS): fix flakiness

* Revert "feat: custom dictionaries (#662)"

This reverts commit d4e3112.

* chore: address feedback

* chore: remove unused method

* chore(test): fix helper call

* fix: rebase

Co-authored-by: Devin Beeuwkes <devin.beeuwkes@algolia.com>
Co-authored-by: Damien Couchez <damien.couchez@gmail.com>
@chloelbn chloelbn deleted the fix/multiple-queries-param branch April 13, 2021 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Object forbidden at this position
2 participants