Skip to content

Commit 5356a66

Browse files
committed
Fixed kubeconfig name
1 parent 5c490ac commit 5356a66

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/KubeConfigTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function test_kube_config_from_yaml_file_with_paths_to_ssl()
6262

6363
public function test_kube_config_from_yaml_file_with_skip_tols()
6464
{
65-
$cluster = KubernetesCluster::fromKubeConfigYamlFile(__DIR__.'/cluster/kubeconfig.yaml', 'minikube-3');
65+
$cluster = KubernetesCluster::fromKubeConfigYamlFile(__DIR__.'/cluster/kubeconfig.yaml', 'minikube-skip-tls');
6666

6767
[
6868
'verify' => $verify,
@@ -71,8 +71,8 @@ public function test_kube_config_from_yaml_file_with_skip_tols()
7171
] = $cluster->getClient()->getConfig();
7272

7373
$this->assertFalse($verify);
74-
$this->assertEquals('/path/to/.minikube/client.crt', $certPath);
75-
$this->assertEquals('/path/to/.minikube/client.key', $keyPath);
74+
$this->assertEquals('/path/to/.minikube/client3.crt', $certPath);
75+
$this->assertEquals('/path/to/.minikube/client3.key', $keyPath);
7676
}
7777

7878
public function test_cluster_can_get_correct_config_for_token_socket_connection()

0 commit comments

Comments
 (0)