| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 17 | public function loadFixtures() |
||
| 18 | { |
||
| 19 | $this->append(new Fixture( |
||
| 20 | new Request('POST', 'http://foo.bar/foo/bar', [ |
||
| 21 | 'token' => '.*', |
||
| 22 | ], '{"data":".*"}'), |
||
| 23 | new Response(200, [], '{"result":"ok"}') |
||
| 24 | )); |
||
| 25 | |||
| 26 | $this->append(new Fixture( |
||
| 27 | new Request('POST', 'http://foo.bar/foo/baz', [ |
||
| 28 | 'token' => '.*', |
||
| 29 | ], '{"data":".*"}'), |
||
| 30 | new Response(200, [], '{"result":"error"}') |
||
| 31 | )); |
||
| 34 |