File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 12
12
runs-on : ubuntu-latest
13
13
steps :
14
14
- uses : actions/checkout@v2
15
+ - name : Setup PHP with tools
16
+ uses : shivammathur/setup-php@v2
17
+ with :
18
+ php-version : ' 7.4'
19
+ - uses : actions/checkout@v2
15
20
- name : Validate composer.json and composer.lock
16
21
run : composer validate
17
22
- name : Cache Composer packages
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ public function setSessionID(string $sessionId)
91
91
public function addResponse (ResponseInterface $ response , int $ order = 0 , string $ requestKey = null ): bool
92
92
{
93
93
$ res = $ this ->getClient ()->post (
94
- '/ ' . ((strlen ($ this ->getSessionID ()) >= 1 ) ? '?session_id= ' . $ this ->getSessionID () : '' ),
94
+ '/api-mock/create ' . ((strlen ($ this ->getSessionID ()) >= 1 ) ? '?session_id= ' . $ this ->getSessionID () : '' ),
95
95
[
96
96
RequestOptions::JSON => [
97
97
'status_code ' => $ response ->getStatusCode (),
You can’t perform that action at this time.
0 commit comments