From 1f40575ff91f2ddb8ceb43e39323de52cc625b81 Mon Sep 17 00:00:00 2001 From: Matthew Setter Date: Tue, 26 Jan 2021 15:07:10 +0100 Subject: [PATCH] Add note that Rest API testing requires the module-rest package After working through the API testing documentation and attempting to run the API tests, I encountered the following error: Module REST is not installed. Use Composer to install corresponding package: composer require codeception/module-rest --dev This change updates the documentation to cover this requirement, so that it's not discovered when running the API tests. --- docs/10-APITesting.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/10-APITesting.md b/docs/10-APITesting.md index f161ebda7..e1dbaeef7 100644 --- a/docs/10-APITesting.md +++ b/docs/10-APITesting.md @@ -19,6 +19,8 @@ We will put all the api tests there. ## REST API +> **NOTE:** REST API testing requires the `codeception/module-rest` package to be installed. + The REST web service is accessed via HTTP with standard methods: `GET`, `POST`, `PUT`, `DELETE`. They allow users to receive and manipulate entities from the service. Accessing a WebService requires an HTTP client, so for using it you need the module `PhpBrowser` or one of framework modules set up. For example, we can use the `Symfony` module for Symfony2 applications in order to ignore web server and test web service internally. Configure modules in `api.suite.yml`: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy