Laurynas
Laurynas
The above Wordpress environment is from the test site and as I said it adds +20 queries for each new shipping zone (without any shipping methods). > How many shipping...
I've also had this issue in Laravel, solved it by adding a method to TestCase class: ```php protected function triggerStripeWebhook($event) { $tester = (new WebhookTester())->setVersion('2018-05-21'); $data = $tester->loadEventData($event); return $this->call('POST',...
@photoguy1278 do you found a solution for this problem?
@mrpsiho nope.
@christian-nielsen could you please provide more details? thanks.
@christian-nielsen could you provide some code examples?
@christian-nielsen does this cover your use-case? https://github.com/Sti3bas/laravel-scout-array-driver/pull/22
@brendanpetty it shouldn't fail since TNTSearch provides a macro for the Builder class and that is out of scope of array driver: https://github.com/teamtnt/laravel-scout-tntsearch-driver/blob/d57e4c92502ceb99154803aa1866cd3cf1a26604/src/TNTSearchScoutServiceProvider.php#L43 Could you please provide more information?
@brendanpetty yeah, array driver was not meant to implement other drivers specific features. I'm currently working on a [PR](https://github.com/Sti3bas/laravel-scout-array-driver/pull/22) which would allow to fake response data and I think it...
@christian-nielsen yes, we have `within` method for that: ```php Search::fakeResponseData([ 'foo' => 'bar' ])->within('users'); Search::fakeResponseData([ 'foo' => 'baz' ])->within('posts'); // or $post->searchableAs() ``` If you don't call `within` then I...