Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public function setUp() |
||
12 | { |
||
13 | $pwd = dirname(__FILE__); |
||
14 | |||
15 | $pathToFixture = sprintf('%s/Fixture/OffsetDateParserFixture.xml', $pwd); |
||
16 | |||
17 | $xml = simplexml_load_file($pathToFixture); |
||
18 | |||
19 | $pathToHeaderFixture = sprintf('%s/Fixture/OffsetDateParserHeaderFixture.xml', $pwd); |
||
20 | |||
21 | $xmlHeader = simplexml_load_file($pathToHeaderFixture); |
||
22 | |||
23 | $this->parser = new OffsetDateParser(); |
||
24 | |||
25 | $this->parser->setXmlField($xml); |
||
26 | $this->parser->setXmlHeader($xmlHeader); |
||
27 | } |
||
28 | |||
41 |