9 references to WithField
Aspire.Hosting.Kubernetes.Tests (9)
KubernetesPublisherTests.cs (9)
623
.
WithField
("spec.scaleTargetRef.kind", "Deployment")
624
.
WithField
("spec.scaleTargetRef.name", "myapp")
625
.
WithField
("spec.minReplicaCount", 1)
626
.
WithField
("spec.maxReplicaCount", (double)3)
627
.
WithField
("data.enabled", true);
703
manifest.
WithField
("spec", "scalar");
705
var exception = Assert.Throws<ArgumentException>(() => manifest.
WithField
("spec.replicas", 3));
715
manifest.
WithField
("spec.replicas", 3);
717
Assert.Throws<ArgumentException>(() => manifest.
WithField
("spec", value));