Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function whenVersionIsProvidedRequestRemainsUnchanged() |
||
27 | { |
||
28 | $request = ServerRequestFactory::fromGlobals()->withUri(new Uri('/rest/v2/foo')); |
||
29 | $test = $this; |
||
30 | $this->middleware->__invoke($request, new Response(), function ($req) use ($request, $test) { |
||
31 | $test->assertSame($request, $req); |
||
32 | }); |
||
33 | } |
||
34 | |||
48 |