You have a service that uses something provided by Laravel Scout that can do the full-text search. You inject this in the constructor.
In your test, instead of injecting this service, make a mock of this service. Your class still thinks it's interacting with the class from Laravel Scout, but it's a fake object.
You then verify that your class sends the correct data to the mock service, and your mock service sends back a response to your class.
Yesterday I started writing a blogpost on my first day with the #Fairphone5 . I'll publish it in the next few days, one problem though: I don't have a blog yet! Luckily Wordpress is super easy to install!
It's been an interesting few days with the #Fairphone so far. Favorite so far:
When inserting the simcard, I had to open up the back and remove the battery. This was super easy and smooth, and the feeling of joy I got because I could finally do this again after all these years was amazing.
If you used WorldEdit, this will likely replace that for you. It's way better, and it's closer to using 3d design software.
Their description: Axiom is an all-in-one tool for Minecraft editing. It merges the capabilities of 3D software with a sleek interface and an innovative toolset.
So, funny story. Every cop's body cam is basically an AirTag. I did a talk at DEFCON explaining how you can detect and ID police body cams with your phone.
@nullagent Super cool talk. Also got the rfparty app. Gonna be a lot of fun!
Small feature request: It would be great to see devices in a list view as well. Currently have 9 devices around me, but since they're on top of each other, I can't see them individually.