alef-e2e 0.15.4

Fixture-driven e2e test generator for alef
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{#- PHP Guzzle HTTP request

   Context variables:
   - method: HTTP method (GET, POST, etc. - already uppercase)
   - path: path with query params handled separately
   - opts: list of Guzzle options lines
   - response_var: variable name to bind the response to
#}
{%- if opts %}
        ${{ response_var }} = $this->httpClient->request('{{ method }}', "{{ path }}", [
{%- for opt in opts %}
            {{ opt }},
{%- endfor %}
        ]);
{%- else %}
        ${{ response_var }} = $this->httpClient->request('{{ method }}', "{{ path }}");
{%- endif %}