| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function test_default_values(): void |
||
| 27 | { |
||
| 28 | $tester = new CommandTester(new CallbackUrlCommand()); |
||
| 29 | $tester->execute([]); |
||
| 30 | $outputAsJson = json_decode($tester->getDisplay(), true); |
||
| 31 | |||
| 32 | self::assertEquals([ |
||
| 33 | 'callback' => 'https://custom-domain/custom-receiver', |
||
| 34 | 'maxSendable' => 10_000_000_000, |
||
|
|
|||
| 35 | 'minSendable' => 100_000, |
||
| 36 | 'metadata' => '[["text/plain","Pay to custom-receiver@custom-domain"],["text/identifier","custom-receiver@custom-domain"]]', |
||
| 37 | 'tag' => 'payRequest', |
||
| 38 | 'commentAllowed' => false, |
||
| 39 | ], $outputAsJson); |
||
| 40 | } |
||
| 42 |