| Conditions | 1 |
| Paths | 1 |
| Total Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function testDefaultSettings(): void |
||
| 46 | { |
||
| 47 | $blockService = new AdminStatsBlockService( |
||
| 48 | $this->createMock(Environment::class), |
||
| 49 | null, |
||
| 50 | $this->pool |
||
| 51 | ); |
||
| 52 | $blockContext = $this->getBlockContext($blockService); |
||
| 53 | |||
| 54 | $this->assertSettings([ |
||
| 55 | 'icon' => 'fa-line-chart', |
||
| 56 | 'text' => 'Statistics', |
||
| 57 | 'translation_domain' => null, |
||
| 58 | 'color' => 'bg-aqua', |
||
| 59 | 'code' => false, |
||
| 60 | 'filters' => [], |
||
| 61 | 'limit' => 1000, |
||
| 62 | 'template' => '@SonataAdmin/Block/block_stats.html.twig', |
||
| 63 | ], $blockContext); |
||
| 64 | } |
||
| 65 | } |
||
| 66 |