Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
KULBIDA Pavel authored and KULBIDA Pavel committed Dec 29, 2023
1 parent beac84c commit 2cac9ea
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using k8s;
using k8s.Models;
using Moq;
using ViennaNET.Extensions.Configuration.Kubernetes.Internals;

namespace ViennaNET.Extensions.Configuration.Kubernetes.Tests;

Expand Down Expand Up @@ -174,7 +173,6 @@ public void Dispose_Throws_Nothing()
k8sClientBuilder.Setup(builder => builder.Build()).Returns(k8sClient);

var provider =
new ConfigMapConfigurationProvider(new KubernetesConfigurationSource(), new KubernetesClientBuilder());
new ConfigMapConfigurationProvider(new KubernetesConfigurationSource(), k8sClientBuilder.Object);

Assert.That(() => provider.Dispose(), Throws.Nothing);
Expand Down

0 comments on commit 2cac9ea

Please sign in to comment.