Added the null check for username in ContextUserTokenTest

This commit is contained in:
Sergio Sisternes
2017-06-27 19:52:51 +02:00
parent 5683fe3cb2
commit bd2fca1824

View File

@@ -69,6 +69,7 @@ namespace k8s.Tests
var fi = new FileInfo(kubeConfigFileName);
var cfg = new KubernetesClientConfiguration(fi, context);
Assert.Equal(context, cfg.CurrentContext);
Assert.Null(cfg.Username);
Assert.Equal(token, cfg.AccessToken);
}