Category: PHP, api

Written by Michael Bodnarchuk @davert External collaborators (other microservices) can call them via public API, while the internal state and private methods are hidden.

When a certain microservice B has a contract, and it is often validated in compliance with it, then microservice B can rely on that contract.

And here is how we can use that in tests.

Even though we can use it directly, it is recommended to create a custom helper to simplify the test code.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners