Conditions | 2 |
Paths | 2 |
Total Lines | 15 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
10 | public function testErrorPage($config, $debug) |
||
11 | { |
||
12 | if (defined('HHVM_VERSION')) { |
||
13 | $this->markTestSkipped('Skipping on hhvm (xml parsing in the framework bundle fails'); |
||
14 | } |
||
15 | |||
16 | $env = uniqid(); // avoid re-declaring classes in the container dump |
||
17 | $kernel = new TestKernel($env, $debug, $config); |
||
18 | $kernel->boot(); |
||
19 | $client = $kernel->getContainer()->get('test.client'); |
||
20 | |||
21 | $client->request('GET', '/_cm_raven_bundle_test'); |
||
22 | |||
23 | $this->assertEquals("Error Code: abc\n", $client->getResponse()->getContent()); |
||
24 | } |
||
25 | |||
33 |