We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function testSolve() |
||
| 27 | { |
||
| 28 | $config = $this->configSolution->solve( |
||
| 29 | [ |
||
| 30 | 'values' => [ |
||
| 31 | 'test' => ['value' => 'my test value'], |
||
| 32 | 'toto' => ['value' => 'my toto value'], |
||
| 33 | 'expression-language-test' => ['value' => '@=["my", "test"]'], |
||
| 34 | ], |
||
| 35 | ] |
||
| 36 | ); |
||
| 37 | |||
| 38 | $expected = [ |
||
| 39 | 'values' => [ |
||
| 40 | 'test' => ['value' => 'my test value'], |
||
| 41 | 'toto' => ['value' => 'my toto value'], |
||
| 42 | 'expression-language-test' => ['value' => ['my', 'test']], |
||
| 43 | ], |
||
| 44 | ]; |
||
| 45 | |||
| 46 | $this->assertEquals($expected, $config); |
||
| 47 | } |
||
| 48 | } |
||
| 49 |