| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 43 | public function testShouldConvertRecursivelyToStringAllRuntimeConfigParameters() |
||
| 44 | { |
||
| 45 | $singer = new Signer('aSecret'); |
||
| 46 | |||
| 47 | $runtimeConfigInts = array( |
||
| 48 | 'foo' => 14, |
||
| 49 | 'bar' => array( |
||
| 50 | 'bar' => 15, |
||
| 51 | ), |
||
| 52 | ); |
||
| 53 | |||
| 54 | $runtimeConfigStrings = array( |
||
| 55 | 'foo' => '14', |
||
| 56 | 'bar' => array( |
||
| 57 | 'bar' => '15', |
||
| 58 | ), |
||
| 59 | ); |
||
| 60 | |||
| 61 | $this->assertTrue($singer->check($singer->sign('aPath', $runtimeConfigInts), 'aPath', $runtimeConfigStrings)); |
||
| 62 | } |
||
| 63 | } |
||
| 64 |