44
55use App \Tests \Controller \AbstractAppControllerTest ;
66
7- #[Route('/admin ' )]
87class ElasticsearchClusterControllerTest extends AbstractAppControllerTest
98{
10- #[Route('/cluster ' , name: 'cluster ' )]
119 public function testRead (): void
1210 {
1311 $ clusterHealth = $ this ->elasticsearchClusterManager ->getClusterHealth ();
@@ -21,7 +19,6 @@ public function testRead(): void
2119 $ this ->assertSelectorTextSame ('h3 ' , 'Summary ' );
2220 }
2321
24- #[Route('/cluster/allocation/explain ' , name: 'cluster_allocation_explain ' )]
2522 public function testAllocationExplain (): void
2623 {
2724 $ clusterHealth = $ this ->elasticsearchClusterManager ->getClusterHealth ();
@@ -39,7 +36,6 @@ public function testAllocationExplain(): void
3936 }
4037 }
4138
42- #[Route('/cluster/settings ' , name: 'cluster_settings ' )]
4339 public function testSettings (): void
4440 {
4541 $ clusterHealth = $ this ->elasticsearchClusterManager ->getClusterHealth ();
@@ -57,7 +53,6 @@ public function testSettings(): void
5753 }
5854 }
5955
60- #[Route('/cluster/settings/{type}/{setting}/edit ' , name: 'cluster_settings_edit ' )]
6156 public function testEditPersistent (): void
6257 {
6358 $ clusterHealth = $ this ->elasticsearchClusterManager ->getClusterHealth ();
@@ -92,7 +87,6 @@ public function testEditTransient(): void
9287 }
9388 }
9489
95- #[Route('/cluster/audit ' , name: 'cluster_audit ' )]
9690 public function testAudit (): void
9791 {
9892 $ clusterHealth = $ this ->elasticsearchClusterManager ->getClusterHealth ();
@@ -106,7 +100,6 @@ public function testAudit(): void
106100 $ this ->assertSelectorTextSame ('h3 ' , 'Audit ' );
107101 }
108102
109- #[Route('/cluster/disk-thresholds ' , name: 'cluster_disk_thresholds ' )]
110103 public function testDiskThresholds (): void
111104 {
112105 $ clusterHealth = $ this ->elasticsearchClusterManager ->getClusterHealth ();
0 commit comments