Skip to content

Commit b4412f0

Browse files
committed
Nit: Removing ineffective line since PHP 8.1
1 parent 37ec267 commit b4412f0

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/KubeConfigTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public function test_cluster_can_get_correct_config_for_token_socket_connection(
9090
$cluster = KubernetesCluster::fromUrl('http://127.0.0.1:8080')->loadTokenFromFile(__DIR__.'/cluster/token.txt');
9191

9292
$reflectionMethod = new \ReflectionMethod($cluster, 'buildStreamContextOptions');
93-
$reflectionMethod->setAccessible(true);
9493

9594
$options = $reflectionMethod->invoke($cluster);
9695

@@ -110,7 +109,6 @@ public function test_cluster_can_get_correct_config_for_user_pass_socket_connect
110109
$cluster = KubernetesCluster::fromUrl('http://127.0.0.1:8080')->httpAuthentication('some-user', 'some-password');
111110

112111
$reflectionMethod = new \ReflectionMethod($cluster, 'buildStreamContextOptions');
113-
$reflectionMethod->setAccessible(true);
114112

115113
$options = $reflectionMethod->invoke($cluster);
116114

@@ -130,7 +128,6 @@ public function test_cluster_can_get_correct_config_for_ssl_socket_connection()
130128
$cluster = KubernetesCluster::fromKubeConfigYamlFile(__DIR__.'/cluster/kubeconfig.yaml', 'minikube-2');
131129

132130
$reflectionMethod = new \ReflectionMethod($cluster, 'buildStreamContextOptions');
133-
$reflectionMethod->setAccessible(true);
134131

135132
$options = $reflectionMethod->invoke($cluster);
136133

0 commit comments

Comments
 (0)