File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -34,22 +34,31 @@ protected function mockDriverGetPreparedAndSaveTmpData(
3434 $ driverClass = LocalDriver::class
3535 ): void {
3636 $ this ->mockClass ($ driverClass , [
37- $ this ->functionCall ('getProcessTmpData ' , $ getTmpData ),
37+ $ this ->functionCall (
38+ name: 'getProcessTmpData ' ,
39+ result: $ getTmpData
40+ ),
3841 $ this ->functionCall ('saveProcessTmpData ' , [$ saveTmpData ]),
3942 ]);
4043 }
4144
4245 protected function mockDriverGetTmpData ($ tmpData , $ driverClass = LocalDriver::class): void
4346 {
4447 $ this ->mockClass ($ driverClass , [
45- $ this ->functionCall ('getProcessTmpData ' , $ tmpData ),
48+ $ this ->functionCall (
49+ name: 'getProcessTmpData ' ,
50+ result: $ tmpData
51+ ),
4652 ]);
4753 }
4854
4955 protected function mockDriverGetDocumentation ($ data , $ driverClass = LocalDriver::class): void
5056 {
5157 $ this ->mockClass ($ driverClass , [
52- $ this ->functionCall ('getDocumentation ' , $ data ),
58+ $ this ->functionCall (
59+ name: 'getDocumentation ' ,
60+ result: $ data
61+ ),
5362 ]);
5463 }
5564
You can’t perform that action at this time.
0 commit comments