Commit ef4807f
committed
bug #5528 [reate_framework] Fix mock $matcher (kenjis)
This PR was merged into the 2.3 branch.
Discussion
----------
[reate_framework] Fix mock $matcher
We need `getContext` method, otherwise we get:
> Fatal error: Call to a member function fromRequest() on a non-object in /Users/kenji/work/framework/src/Simplex/Framework.php on line 24
line 24:
~~~php
$this->matcher->getContext()->fromRequest($request);
~~~
Commits
-------
1103e00 Fix mock $matcher1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
160 | 165 | | |
161 | 166 | | |
162 | 167 | | |
| |||
0 commit comments